Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009505/0.009505, allocations: 104.8 kB / 15.73 MB, free: 6.035 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.001235/0.001235, allocations: 199.2 kB / 16.67 MB, free: 5.969 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.34/1.34, allocations: 205.1 MB / 222.6 MB, free: 4.375 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.001338/0.001338, allocations: 50.17 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08904/0.09038, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005094/0.09552, allocations: 3.726 MB / 376.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002577/0.09813, allocations: 1.476 MB / 378.4 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003253/0.0985, allocations: 12 kB / 378.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.1004, allocations: 0.7583 MB / 379.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.1016, allocations: 0.5637 MB / 379.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008104/0.1025, allocations: 414.5 kB / 380.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000462/0.1029, allocations: 485.9 kB / 380.6 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006304/0.1036, allocations: 401.8 kB / 381 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/0.1039, allocations: 215.2 kB / 381.2 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/0.1042, allocations: 286.8 kB / 381.5 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.473e-05/0.1042, allocations: 44 kB / 381.5 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003809/0.1046, allocations: 211.8 kB / 381.7 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.558e-05/0.1047, allocations: 111.6 kB / 381.8 MB, free: 8.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.1049, allocations: 246.7 kB / 382.1 MB, free: 8.348 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007317/0.1057, allocations: 0.7047 MB / 382.8 MB, free: 7.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1057, allocations: 0 / 382.8 MB, free: 7.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1057, allocations: 0 / 382.8 MB, free: 7.641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.1057, allocations: 4 kB / 382.8 MB, free: 7.637 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001992/0.1077, allocations: 0.9287 MB / 383.7 MB, free: 6.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.1078, allocations: 8.031 kB / 383.7 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004201/0.112, allocations: 0.5818 MB / 384.3 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/0.1125, allocations: 319.6 kB / 384.6 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.797e-05/0.1125, allocations: 45.69 kB / 384.7 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.275e-05/0.1126, allocations: 56.31 kB / 384.7 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000946/0.1136, allocations: 0.5531 MB / 385.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.1136, allocations: 7.938 kB / 385.3 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.218e-05/0.1136, allocations: 20 kB / 385.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.1137, allocations: 15.98 kB / 385.3 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.1148, allocations: 0.6337 MB / 385.9 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00286/0.1176, allocations: 2.034 MB / 388 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/0.1203, allocations: 3.008 MB / 391 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.1207, allocations: 222.1 kB / 391.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.34e-05/0.1207, allocations: 93.52 kB / 391.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.1208, allocations: 39 kB / 391.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 3.257e-06/0.1208, allocations: 0 / 391.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.00183/0.1226, allocations: 0.7933 MB / 392.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.1227, allocations: 59.84 kB / 392.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.1229, allocations: 205 kB / 392.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.1229, allocations: 37.7 kB / 392.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.1231, allocations: 232.1 kB / 392.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.1232, allocations: 169.5 kB / 392.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.1233, allocations: 102.2 kB / 392.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1235, allocations: 338.8 kB / 393.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.1238, allocations: 161 kB / 393.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.1242, allocations: 273.9 kB / 393.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007501/0.1249, allocations: 460.5 kB / 394.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.1249, allocations: 4 kB / 394.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001014/0.126, allocations: 0.5787 MB / 394.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.126, allocations: 7.938 kB / 394.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.126, allocations: 4 kB / 394.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003533/0.1264, allocations: 92.8 kB / 394.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.1268, allocations: 107.8 kB / 394.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.1288, allocations: 2.049 MB / 397 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.1292, allocations: 51.47 kB / 397 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.1292, allocations: 27.98 kB / 397 MB, free: 8.246 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002219/0.1294, allocations: 173.8 kB / 397.2 MB, free: 8.066 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.1295, allocations: 27.62 kB / 397.2 MB, free: 8.039 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.1306, allocations: 0.5589 MB / 397.8 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.1306, allocations: 8 kB / 397.8 MB, free: 7.469 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1306, allocations: 0 / 397.8 MB, free: 7.469 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.1306, allocations: 3.984 kB / 397.8 MB, free: 7.465 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.1324, allocations: 1.135 MB / 398.9 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1324, allocations: 0 / 398.9 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/0.1327, allocations: 79.91 kB / 399 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002543/0.133, allocations: 88.73 kB / 399.1 MB, free: 6.102 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.133, allocations: 12 kB / 399.1 MB, free: 6.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002115/0.1351, allocations: 2.042 MB / 401.1 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1351, allocations: 0 / 401.1 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.1365, allocations: 0.8049 MB / 402 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.312e-05/0.1365, allocations: 112.6 kB / 402.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.324e-05/0.1366, allocations: 12 kB / 402.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.1368, allocations: 19.98 kB / 402.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.1369, allocations: 36.45 kB / 402.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.137, allocations: 16 kB / 402.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.1371, allocations: 147 kB / 402.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1371, allocations: 0 / 402.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000577/0.1377, allocations: 151.6 kB / 402.4 MB, free: 2.574 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000242/0.1379, allocations: 147.1 kB / 402.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.139, allocations: 0.5932 MB / 403.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.139, allocations: 3.938 kB / 403.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005513/0.1395, allocations: 385.8 kB / 403.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.1399, allocations: 28 kB / 403.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.1413, allocations: 0.8489 MB / 404.4 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.1417, allocations: 0.8133 MB / 405.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001803/0.1419, allocations: 51.27 kB / 405.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.277e-05/0.142, allocations: 31.42 kB / 405.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.142, allocations: 0 / 405.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of Templates: time 0.009622/0.1516, allocations: 4.474 MB / 409.8 MB, free: 11.12 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1)