Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.005497/0.005502, allocations: 100.4 kB / 15.73 MB, free: 5.98 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.001258/0.001258, allocations: 192.2 kB / 16.67 MB, free: 5.918 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.37/1.37, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001247/0.001247, allocations: 53.95 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08783/0.08909, allocations: 46.62 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005468/0.0946, allocations: 3.738 MB / 376.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002954/0.0976, allocations: 1.472 MB / 378.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005119/0.09818, allocations: 15.94 kB / 378.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.1002, allocations: 0.7545 MB / 379.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.1018, allocations: 0.5598 MB / 379.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000942/0.1027, allocations: 414.5 kB / 380.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008143/0.1036, allocations: 497.8 kB / 380.6 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007308/0.1043, allocations: 393.8 kB / 381 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00044/0.1047, allocations: 215.2 kB / 381.2 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004595/0.1052, allocations: 278.8 kB / 381.5 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.1053, allocations: 44 kB / 381.5 MB, free: 8.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005881/0.1059, allocations: 215.8 kB / 381.7 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.1061, allocations: 107.6 kB / 381.8 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002858/0.1063, allocations: 250.7 kB / 382.1 MB, free: 8.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009976/0.1074, allocations: 0.7047 MB / 382.8 MB, free: 7.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1074, allocations: 0 / 382.8 MB, free: 7.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1074, allocations: 4 kB / 382.8 MB, free: 7.664 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.996e-05/0.1074, allocations: 0 / 382.8 MB, free: 7.664 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.002335/0.1097, allocations: 0.9287 MB / 383.7 MB, free: 6.688 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.1098, allocations: 8.031 kB / 383.7 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004267/0.1141, allocations: 0.5857 MB / 384.3 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005203/0.1146, allocations: 315.6 kB / 384.6 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.1147, allocations: 45.62 kB / 384.6 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.1148, allocations: 56.38 kB / 384.7 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.1159, allocations: 0.5531 MB / 385.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.1159, allocations: 3.984 kB / 385.3 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.348e-05/0.116, allocations: 28 kB / 385.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.116, allocations: 12 kB / 385.3 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.1171, allocations: 0.6298 MB / 385.9 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003021/0.1201, allocations: 2.034 MB / 388 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/0.1226, allocations: 3.012 MB / 391 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/0.123, allocations: 218.1 kB / 391.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.68e-05/0.1231, allocations: 97.45 kB / 391.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.1232, allocations: 46.94 kB / 391.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.224e-06/0.1232, allocations: 0 / 391.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.001921/0.1251, allocations: 0.7894 MB / 392.1 MB, free: 13.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.1252, allocations: 63.83 kB / 392.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.1254, allocations: 201 kB / 392.4 MB, free: 13.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.1254, allocations: 41.7 kB / 392.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.1255, allocations: 232.1 kB / 392.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.1257, allocations: 169.5 kB / 392.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.1258, allocations: 98.16 kB / 392.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1259, allocations: 338.8 kB / 393.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/0.1262, allocations: 161 kB / 393.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004032/0.1266, allocations: 269.9 kB / 393.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007447/0.1274, allocations: 464.5 kB / 394.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1274, allocations: 0 / 394.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001074/0.1285, allocations: 0.5783 MB / 394.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1285, allocations: 11.94 kB / 394.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1285, allocations: 4 kB / 394.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003447/0.1289, allocations: 97.2 kB / 394.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000406/0.1293, allocations: 103.8 kB / 394.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/0.1313, allocations: 2.045 MB / 396.9 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.1316, allocations: 55.41 kB / 397 MB, free: 8.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.1316, allocations: 23.98 kB / 397 MB, free: 8.273 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.0001875/0.1318, allocations: 177.7 kB / 397.2 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.1319, allocations: 27.62 kB / 397.2 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.1329, allocations: 0.5512 MB / 397.8 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.133, allocations: 8 kB / 397.8 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.133, allocations: 0 / 397.8 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.133, allocations: 7.984 kB / 397.8 MB, free: 7.492 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.1346, allocations: 1.135 MB / 398.9 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1346, allocations: 0 / 398.9 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.1349, allocations: 75.91 kB / 399 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002802/0.1352, allocations: 92.73 kB / 399.1 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.1353, allocations: 12 kB / 399.1 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.1371, allocations: 2.042 MB / 401.1 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1371, allocations: 0 / 401.1 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.1384, allocations: 0.8009 MB / 401.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.462e-05/0.1385, allocations: 116.7 kB / 402.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.1386, allocations: 12 kB / 402.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.1388, allocations: 19.98 kB / 402.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/0.1389, allocations: 32.58 kB / 402.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.1389, allocations: 16 kB / 402.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.139, allocations: 151 kB / 402.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1391, allocations: 0 / 402.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005903/0.1397, allocations: 147.6 kB / 402.4 MB, free: 2.605 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.0002113/0.1399, allocations: 143.1 kB / 402.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.141, allocations: 0.5932 MB / 403.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.141, allocations: 4.75 kB / 403.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005592/0.1415, allocations: 385 kB / 403.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.1419, allocations: 32 kB / 403.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.1433, allocations: 0.8489 MB / 404.4 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.1437, allocations: 0.8133 MB / 405.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001927/0.1439, allocations: 51.27 kB / 405.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.741e-05/0.144, allocations: 31.42 kB / 405.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.144, allocations: 0 / 405.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of Templates: time 0.009386/0.1534, allocations: 4.575 MB / 409.9 MB, free: 11.05 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1)