Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005179/0.005179, allocations: 100.4 kB / 15.73 MB, free: 6.008 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.001148/0.001148, allocations: 190.4 kB / 16.67 MB, free: 5.949 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.401/1.401, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.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.001156/0.001156, allocations: 50.2 kB / 326.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09118/0.09235, allocations: 46.63 MB / 373.2 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004331/0.09672, allocations: 3.24 MB / 376.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.09877, allocations: 1.347 MB / 377.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.09896, allocations: 8 kB / 377.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003864/0.09936, allocations: 135.1 kB / 377.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00082/0.1002, allocations: 369.9 kB / 378.3 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.1007, allocations: 263.2 kB / 378.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004837/0.1012, allocations: 453.9 kB / 379 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.1014, allocations: 148.2 kB / 379.1 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.1016, allocations: 171.4 kB / 379.3 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.1018, allocations: 199.1 kB / 379.5 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.891e-05/0.1019, allocations: 32 kB / 379.5 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000286/0.1022, allocations: 159.9 kB / 379.6 MB, free: 10.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.473e-05/0.1023, allocations: 79.7 kB / 379.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.1025, allocations: 202.9 kB / 379.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005883/0.1031, allocations: 0.5335 MB / 380.5 MB, free: 10.01 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1031, allocations: 0 / 380.5 MB, free: 10.01 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1031, allocations: 0 / 380.5 MB, free: 10.01 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.1031, allocations: 3.938 kB / 380.5 MB, free: 10.01 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001389/0.1045, allocations: 0.737 MB / 381.2 MB, free: 9.223 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.1045, allocations: 15.89 kB / 381.2 MB, free: 9.207 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006018/0.1051, allocations: 96.41 kB / 381.3 MB, free: 9.113 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.1056, allocations: 304.5 kB / 381.6 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.1056, allocations: 29.38 kB / 381.6 MB, free: 8.746 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.247e-05/0.1057, allocations: 36.31 kB / 381.7 MB, free: 8.711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005569/0.1062, allocations: 357.6 kB / 382 MB, free: 8.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1063, allocations: 0 / 382 MB, free: 8.352 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.1063, allocations: 16 kB / 382 MB, free: 8.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1063, allocations: 8 kB / 382 MB, free: 8.328 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004645/0.1068, allocations: 246.1 kB / 382.3 MB, free: 8.086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.1087, allocations: 1.308 MB / 383.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/0.1091, allocations: 201 kB / 383.8 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.1092, allocations: 85.97 kB / 383.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007713/0.11, allocations: 0.871 MB / 384.7 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.11, allocations: 38.56 kB / 384.8 MB, free: 5.359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.693e-06/0.1101, allocations: 0 / 384.8 MB, free: 5.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.000527/0.1106, allocations: 217.3 kB / 385 MB, free: 5.141 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.1106, allocations: 81.05 kB / 385.1 MB, free: 5.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.1109, allocations: 291 kB / 385.4 MB, free: 4.742 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.111, allocations: 29.7 kB / 385.4 MB, free: 4.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.1111, allocations: 239.4 kB / 385.6 MB, free: 4.465 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.1111, allocations: 63.09 kB / 385.7 MB, free: 4.402 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.333e-05/0.1112, allocations: 57.94 kB / 385.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1114, allocations: 338.8 kB / 386.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.1115, allocations: 68.61 kB / 386.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.1117, allocations: 206.3 kB / 386.3 MB, free: 3.668 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/0.1121, allocations: 292.9 kB / 386.6 MB, free: 3.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1121, allocations: 0 / 386.6 MB, free: 3.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004911/0.1126, allocations: 316.9 kB / 386.9 MB, free: 3.004 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1127, allocations: 8 kB / 386.9 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1127, allocations: 4 kB / 386.9 MB, free: 2.992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.1127, allocations: 8 kB / 386.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.113, allocations: 80.39 kB / 387 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.113, allocations: 15.94 kB / 387 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.1132, allocations: 39.58 kB / 387.1 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.1132, allocations: 16 kB / 387.1 MB, free: 2.836 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * 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.0001287/0.1134, allocations: 153.7 kB / 387.2 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.409e-05/0.1134, allocations: 27.72 kB / 387.3 MB, free: 2.648 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.174e-05/0.1135, allocations: 25.73 kB / 387.3 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.1135, allocations: 7.938 kB / 387.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1135, allocations: 3.938 kB / 387.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1135, allocations: 4 kB / 387.3 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006333/0.1142, allocations: 0.5108 MB / 387.8 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1142, allocations: 320 / 387.8 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.1144, allocations: 47.86 kB / 387.9 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1144, allocations: 4 kB / 387.9 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.1144, allocations: 7.984 kB / 387.9 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1144, allocations: 8.031 kB / 387.9 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1144, allocations: 0 / 387.9 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005013/0.1149, allocations: 419.1 kB / 388.3 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.55e-05/0.115, allocations: 104.7 kB / 388.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.1151, allocations: 8.062 kB / 388.4 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.1153, allocations: 19.97 kB / 388.4 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.1153, allocations: 15.98 kB / 388.4 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.1153, allocations: 7.984 kB / 388.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001733/0.1155, allocations: 194 kB / 388.6 MB, free: 1.184 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1155, allocations: 0 / 388.6 MB, free: 1.184 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004174/0.116, allocations: 83.69 kB / 388.7 MB, free: 1.102 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.0001709/0.1161, allocations: 107.2 kB / 388.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003823/0.1165, allocations: 192.6 kB / 389 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1165, allocations: 0 / 389 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.1167, allocations: 67.91 kB / 389.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.1171, allocations: 33.05 kB / 389.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.1182, allocations: 0.6547 MB / 389.8 MB, free: 12 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.1185, allocations: 0.7753 MB / 390.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.1186, allocations: 34.95 kB / 390.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/0.1187, allocations: 23.44 kB / 390.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1187, allocations: 0 / 390.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of Templates: time 0.005908/0.1246, allocations: 2.389 MB / 393 MB, free: 12.77 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1)