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.004718/0.004718, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001241/0.001241, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.342/1.342, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.001193/0.001194, allocations: 50.05 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09195/0.09316, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005353/0.09854, allocations: 3.734 MB / 376.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.1012, allocations: 1.468 MB / 378.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003925/0.1016, allocations: 12 kB / 378.4 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002057/0.1037, allocations: 0.7623 MB / 379.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.1052, allocations: 0.5598 MB / 379.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009483/0.1062, allocations: 418.4 kB / 380.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006395/0.1068, allocations: 489.9 kB / 380.6 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006618/0.1075, allocations: 389.8 kB / 381 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003764/0.1079, allocations: 219.1 kB / 381.2 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004192/0.1083, allocations: 294.8 kB / 381.5 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.528e-05/0.1084, allocations: 44 kB / 381.5 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004903/0.1089, allocations: 203.9 kB / 381.7 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.109, allocations: 111.6 kB / 381.8 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002999/0.1093, allocations: 250.7 kB / 382.1 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001/0.1104, allocations: 0.7008 MB / 382.8 MB, free: 7.652 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1104, allocations: 0 / 382.8 MB, free: 7.652 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1104, allocations: 0 / 382.8 MB, free: 7.652 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.878e-05/0.1104, allocations: 0 / 382.8 MB, free: 7.652 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.002183/0.1126, allocations: 0.9326 MB / 383.7 MB, free: 6.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1126, allocations: 8.031 kB / 383.7 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0042/0.1168, allocations: 0.5857 MB / 384.3 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005813/0.1174, allocations: 315.6 kB / 384.6 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.55e-05/0.1175, allocations: 45.69 kB / 384.7 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.1176, allocations: 52.38 kB / 384.7 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.1186, allocations: 0.5608 MB / 385.3 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.1187, allocations: 0 / 385.3 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.926e-05/0.1187, allocations: 28 kB / 385.3 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.1188, allocations: 12 kB / 385.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.1199, allocations: 0.6337 MB / 385.9 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003297/0.1232, allocations: 2.03 MB / 388 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/0.1259, allocations: 3.008 MB / 391 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003625/0.1262, allocations: 218.1 kB / 391.2 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.1264, allocations: 97.52 kB / 391.3 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.1264, allocations: 39 kB / 391.3 MB, free: 14.28 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.915e-06/0.1264, allocations: 0 / 391.3 MB, free: 14.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.001944/0.1284, allocations: 0.7971 MB / 392.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.1284, allocations: 59.84 kB / 392.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.1287, allocations: 201 kB / 392.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.1287, allocations: 37.7 kB / 392.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.1289, allocations: 236.1 kB / 392.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.129, allocations: 169.5 kB / 392.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.1292, allocations: 102.1 kB / 392.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1293, allocations: 334.8 kB / 393.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/0.1297, allocations: 161 kB / 393.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003997/0.1301, allocations: 273.9 kB / 393.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000732/0.1308, allocations: 460.5 kB / 394.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.1308, allocations: 0 / 394.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001104/0.1319, allocations: 0.5864 MB / 394.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.132, allocations: 11.94 kB / 394.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.132, allocations: 7.984 kB / 394.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003556/0.1323, allocations: 92.89 kB / 394.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/0.1328, allocations: 107.8 kB / 394.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/0.135, allocations: 2.037 MB / 396.9 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.1354, allocations: 55.45 kB / 397 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.695e-05/0.1354, allocations: 28.12 kB / 397 MB, free: 8.258 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.0002451/0.1357, allocations: 169.8 kB / 397.2 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.587e-05/0.1358, allocations: 31.56 kB / 397.2 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.1368, allocations: 0.5589 MB / 397.8 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1369, allocations: 8 kB / 397.8 MB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1369, allocations: 0 / 397.8 MB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.1369, allocations: 3.984 kB / 397.8 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.1386, allocations: 1.135 MB / 398.9 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1386, allocations: 0 / 398.9 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/0.1389, allocations: 79.89 kB / 399 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002572/0.1392, allocations: 84.81 kB / 399.1 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.1392, allocations: 12 kB / 399.1 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.1411, allocations: 2.038 MB / 401.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1412, allocations: 0 / 401.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.1425, allocations: 0.8049 MB / 401.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.613e-05/0.1426, allocations: 116.6 kB / 402.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.1426, allocations: 8 kB / 402.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.1429, allocations: 24.05 kB / 402.1 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.573e-05/0.143, allocations: 32.39 kB / 402.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.143, allocations: 16 kB / 402.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.1431, allocations: 147 kB / 402.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1431, allocations: 192 / 402.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006159/0.1438, allocations: 151.6 kB / 402.4 MB, free: 2.594 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.0002526/0.144, allocations: 155 kB / 402.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.1451, allocations: 0.5931 MB / 403.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1452, allocations: 0 / 403.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000558/0.1457, allocations: 389.8 kB / 403.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.1461, allocations: 28 kB / 403.6 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.1477, allocations: 0.845 MB / 404.4 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.1481, allocations: 0.8094 MB / 405.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001928/0.1483, allocations: 59.25 kB / 405.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.194e-05/0.1484, allocations: 31.44 kB / 405.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1484, allocations: 0 / 405.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of Templates: time 0.009844/0.1583, allocations: 4.474 MB / 409.8 MB, free: 11.13 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)