Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.000705/0.0007052, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.0007936/0.0007937, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.393/1.393, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.0004799/0.0004801, allocations: 8 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1051, allocations: 47.59 MB / 328.3 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.003998/0.1092, allocations: 3.344 MB / 331.7 MB, free: 384 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002939/0.1122, allocations: 1.442 MB / 333.1 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002724/0.1125, allocations: 8 kB / 333.1 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005569/0.113, allocations: 167.3 kB / 333.3 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001276/0.1143, allocations: 0.5174 MB / 333.8 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008117/0.1152, allocations: 386.9 kB / 334.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005116/0.1157, allocations: 469.8 kB / 334.6 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.117, allocations: 0.7195 MB / 335.4 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003184/0.1173, allocations: 187.1 kB / 335.5 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.1176, allocations: 250.8 kB / 335.8 MB, free: 12.22 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.952e-05/0.1177, allocations: 24 kB / 335.8 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000466/0.1182, allocations: 183.8 kB / 336 MB, free: 12.02 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.541e-05/0.1183, allocations: 87.61 kB / 336.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.1185, allocations: 244.4 kB / 336.3 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007462/0.1192, allocations: 0.6581 MB / 337 MB, free: 11.02 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1193, allocations: 7.938 kB / 337 MB, free: 11.02 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1193, allocations: 0 / 337 MB, free: 11.02 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.567e-06/0.1193, allocations: 0 / 337 MB, free: 11.02 MB / 286.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.002081/0.1214, allocations: 0.8428 MB / 337.8 MB, free: 10.12 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1214, allocations: 8.031 kB / 337.8 MB, free: 10.12 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004356/0.1258, allocations: 0.5973 MB / 338.4 MB, free: 9.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004706/0.1263, allocations: 315.6 kB / 338.7 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.1263, allocations: 41.69 kB / 338.8 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.1264, allocations: 56.38 kB / 338.8 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.1275, allocations: 0.557 MB / 339.4 MB, free: 8.512 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.1276, allocations: 0 / 339.4 MB, free: 8.512 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.361e-05/0.1276, allocations: 27.94 kB / 339.4 MB, free: 8.484 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.1277, allocations: 20 kB / 339.4 MB, free: 8.465 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.1289, allocations: 0.6454 MB / 340.1 MB, free: 7.82 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00336/0.1322, allocations: 2.053 MB / 342.1 MB, free: 5.633 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0024/0.1346, allocations: 3.013 MB / 345.1 MB, free: 2.055 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.135, allocations: 234 kB / 345.4 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.663e-05/0.1351, allocations: 85.55 kB / 345.5 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.1352, allocations: 35 kB / 345.5 MB, free: 1.68 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.575e-06/0.1352, allocations: 0 / 345.5 MB, free: 1.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001939/0.1371, allocations: 0.8245 MB / 346.3 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.1372, allocations: 55.84 kB / 346.4 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.1374, allocations: 208.4 kB / 346.6 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.1374, allocations: 33.7 kB / 346.6 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.1375, allocations: 240.1 kB / 346.8 MB, free: 276 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.1376, allocations: 173.5 kB / 347 MB, free: 100 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-05/0.1377, allocations: 45.7 kB / 347.1 MB, free: 48 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1378, allocations: 334.8 kB / 347.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.1382, allocations: 169 kB / 347.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.1386, allocations: 277.9 kB / 347.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006925/0.1393, allocations: 480.5 kB / 348.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1393, allocations: 0 / 348.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001089/0.1404, allocations: 0.5904 MB / 348.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.1404, allocations: 7.938 kB / 348.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1404, allocations: 4 kB / 348.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003557/0.1408, allocations: 96.75 kB / 349 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000418/0.1412, allocations: 111.8 kB / 349.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/0.1432, allocations: 1.85 MB / 350.9 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.1435, allocations: 63.42 kB / 351 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/0.1436, allocations: 24 kB / 351 MB, free: 11.84 MB / 302.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.0002405/0.1438, allocations: 165.7 kB / 351.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.627e-05/0.1439, allocations: 23.72 kB / 351.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.1451, allocations: 0.5707 MB / 351.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.1451, allocations: 4 kB / 351.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1451, allocations: 4 kB / 351.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.1451, allocations: 7.922 kB / 351.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.1469, allocations: 1.149 MB / 352.9 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.1469, allocations: 4 kB / 353 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003332/0.1473, allocations: 79.89 kB / 353 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002715/0.1476, allocations: 84.81 kB / 353.1 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.1476, allocations: 11.98 kB / 353.1 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002053/0.1497, allocations: 1.858 MB / 355 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1497, allocations: 0 / 355 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.1512, allocations: 0.8155 MB / 355.8 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.694e-05/0.1513, allocations: 120.6 kB / 355.9 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.1513, allocations: 8 kB / 355.9 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.1516, allocations: 24.06 kB / 355.9 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.1517, allocations: 36.38 kB / 356 MB, free: 6.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.1518, allocations: 12 kB / 356 MB, free: 6.605 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.1519, allocations: 152.1 kB / 356.1 MB, free: 6.457 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1519, allocations: 0 / 356.1 MB, free: 6.457 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007034/0.1527, allocations: 159.5 kB / 356.3 MB, free: 6.301 MB / 302.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.0003157/0.153, allocations: 139.1 kB / 356.4 MB, free: 6.156 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.1542, allocations: 0.6017 MB / 357 MB, free: 5.543 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1542, allocations: 0 / 357 MB, free: 5.543 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000643/0.1548, allocations: 389.2 kB / 357.4 MB, free: 5.148 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.1552, allocations: 31.94 kB / 357.4 MB, free: 5.117 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.1569, allocations: 1.112 MB / 358.6 MB, free: 3.973 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.1574, allocations: 0.8136 MB / 359.4 MB, free: 3.137 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002275/0.1577, allocations: 55.25 kB / 359.4 MB, free: 3.086 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.964e-05/0.1578, allocations: 31.44 kB / 359.5 MB, free: 3.055 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1578, allocations: 0 / 359.5 MB, free: 3.055 MB / 302.1 MB Notification: Performance of Templates: time 0.009742/0.1675, allocations: 4.116 MB / 363.6 MB, free: 14.94 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1)