Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 107 kB / 17.06 MB, free: 6.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 195 kB / 18 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 47.92 kB / 327.9 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1235, allocations: 46.62 MB / 374.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002817/0.1264, allocations: 1.516 MB / 376 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.1283, allocations: 0.8895 MB / 376.9 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.423e-05/0.1284, allocations: 7.938 kB / 376.9 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.1286, allocations: 7.922 kB / 376.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.958e-05/0.1287, allocations: 19.86 kB / 376.9 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.129, allocations: 47.88 kB / 377 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.1292, allocations: 151.7 kB / 377.1 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1293, allocations: 20 kB / 377.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004419/0.1298, allocations: 391.2 kB / 377.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.1299, allocations: 67.69 kB / 377.6 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.13, allocations: 12 kB / 377.6 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.815e-05/0.13, allocations: 8 kB / 377.6 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.789e-05/0.1301, allocations: 63.77 kB / 377.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.1303, allocations: 115.1 kB / 377.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003413/0.1306, allocations: 358.8 kB / 378.1 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1306, allocations: 4 kB / 378.1 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1306, allocations: 0 / 378.1 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1306, allocations: 3.984 kB / 378.1 MB, free: 0.8633 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009073/0.1315, allocations: 0.7227 MB / 378.9 MB, free: 68 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1316, allocations: 8.031 kB / 378.9 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.341e-05/0.1317, allocations: 36.56 kB / 378.9 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2842/0.4159, allocations: 265.7 kB / 379.2 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.85e-05/0.416, allocations: 9.5 kB / 379.2 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.416, allocations: 6.969 kB / 379.2 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.4165, allocations: 127 kB / 379.3 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.4165, allocations: 0 / 379.3 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.4166, allocations: 4.547 kB / 379.3 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.4166, allocations: 3.031 kB / 379.3 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.4168, allocations: 63.34 kB / 379.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.4179, allocations: 456.8 kB / 379.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.4182, allocations: 97.02 kB / 379.9 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.4184, allocations: 86.28 kB / 380 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.4184, allocations: 6.234 kB / 380 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005936/0.419, allocations: 202.4 kB / 380.2 MB, free: 12.55 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.494e-06/0.419, allocations: 1.188 kB / 380.2 MB, free: 12.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001012/0.42, allocations: 471 kB / 380.7 MB, free: 12.37 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.4202, allocations: 168.7 kB / 380.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000962/0.4211, allocations: 0.511 MB / 381.3 MB, free: 11.99 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/0.4212, allocations: 35.14 kB / 381.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.068e-05/0.4213, allocations: 98.31 kB / 381.5 MB, free: 11.87 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.617e-05/0.4214, allocations: 34.92 kB / 381.5 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.4216, allocations: 81.52 kB / 381.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4217, allocations: 326.4 kB / 381.9 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.4219, allocations: 55.52 kB / 382 MB, free: 11.51 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.4221, allocations: 70.09 kB / 382 MB, free: 11.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004918/0.4226, allocations: 343.3 kB / 382.4 MB, free: 11.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4226, allocations: 0.5625 kB / 382.4 MB, free: 11.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007902/0.4234, allocations: 385.8 kB / 382.7 MB, free: 10.99 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.4235, allocations: 126.6 kB / 382.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.4235, allocations: 1.438 kB / 382.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.4236, allocations: 4.484 kB / 382.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.084e-05/0.4236, allocations: 2.016 kB / 382.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.4236, allocations: 1.312 kB / 382.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/0.4238, allocations: 10.5 kB / 382.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.384e-05/0.4239, allocations: 40.97 kB / 382.9 MB, free: 10.86 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.yy,iNV3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004182/0.4243, allocations: 370.3 kB / 383.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.264e-05/0.4244, allocations: 48.45 kB / 383.3 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.4245, allocations: 61.59 kB / 383.4 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.4245, allocations: 1.281 kB / 383.4 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.4245, allocations: 0 / 383.4 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4245, allocations: 5.438 kB / 383.4 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.4258, allocations: 0.8126 MB / 384.2 MB, free: 9.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4258, allocations: 4.641 kB / 384.2 MB, free: 9.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-06/0.4258, allocations: 0 / 384.2 MB, free: 9.918 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4258, allocations: 4.141 kB / 384.2 MB, free: 9.918 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.791e-05/0.4259, allocations: 12.12 kB / 384.2 MB, free: 9.918 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4259, allocations: 1.094 kB / 384.2 MB, free: 9.918 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4259, allocations: 3.984 kB / 384.2 MB, free: 9.914 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000737/0.4266, allocations: 0.5301 MB / 384.8 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003983/0.4271, allocations: 245.2 kB / 385 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.818e-05/0.4271, allocations: 8.078 kB / 385 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.4273, allocations: 14.8 kB / 385 MB, free: 9.375 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.4274, allocations: 26.44 kB / 385.1 MB, free: 9.367 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-05/0.4275, allocations: 53.09 kB / 385.1 MB, free: 9.359 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006542/0.4282, allocations: 388.8 kB / 385.5 MB, free: 9.156 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4282, allocations: 0 / 385.5 MB, free: 9.156 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00033/0.4285, allocations: 46.38 kB / 385.5 MB, free: 9.152 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001956/0.4287, allocations: 115.9 kB / 385.6 MB, free: 9.059 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006385/0.4294, allocations: 436.4 kB / 386.1 MB, free: 8.715 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4294, allocations: 0 / 386.1 MB, free: 8.715 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000368/0.4298, allocations: 377.1 kB / 386.4 MB, free: 8.383 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008193/0.4306, allocations: 125.8 kB / 386.6 MB, free: 8.348 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.4321, allocations: 0.6602 MB / 387.2 MB, free: 7.969 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/0.4326, allocations: 0.799 MB / 388 MB, free: 7.234 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.964e-05/0.4327, allocations: 10.02 kB / 388 MB, free: 7.227 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.4327, allocations: 15.84 kB / 388 MB, free: 7.215 MB / 318.1 MB Notification: Performance of SimCode: time 9.01e-07/0.4327, allocations: 0 / 388 MB, free: 7.215 MB / 318.1 MB Notification: Performance of Templates: time 0.01424/0.447, allocations: 4.599 MB / 392.6 MB, free: 6.73 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1)