Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009193/0.009193, allocations: 100.3 kB / 15.73 MB, free: 5.996 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.00205/0.00205, allocations: 193.1 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.366/1.366, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.001262/0.001262, allocations: 53.52 kB / 326.5 MB, free: 14.58 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09596/0.09723, allocations: 46.62 MB / 373.2 MB, free: 1.438 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.005478/0.1027, allocations: 3.738 MB / 376.9 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002793/0.1056, allocations: 1.472 MB / 378.4 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.1058, allocations: 15.94 kB / 378.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.1076, allocations: 0.7584 MB / 379.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.1089, allocations: 0.5598 MB / 379.7 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008407/0.1098, allocations: 418.5 kB / 380.1 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005111/0.1103, allocations: 0.49 MB / 380.6 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007329/0.1111, allocations: 485.8 kB / 381.1 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003244/0.1114, allocations: 223.1 kB / 381.3 MB, free: 9.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000321/0.1117, allocations: 286.9 kB / 381.6 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.19e-05/0.1118, allocations: 44 kB / 381.6 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004188/0.1122, allocations: 211.8 kB / 381.8 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.832e-05/0.1123, allocations: 119.5 kB / 381.9 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002077/0.1125, allocations: 254.8 kB / 382.2 MB, free: 8.348 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007722/0.1133, allocations: 0.7086 MB / 382.9 MB, free: 7.637 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1133, allocations: 4 kB / 382.9 MB, free: 7.633 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1133, allocations: 0 / 382.9 MB, free: 7.633 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.1134, allocations: 0 / 382.9 MB, free: 7.633 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.002188/0.1155, allocations: 0.9443 MB / 383.8 MB, free: 6.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.1156, allocations: 15.89 kB / 383.9 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004294/0.1199, allocations: 0.5857 MB / 384.4 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005401/0.1205, allocations: 311.6 kB / 384.8 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.447e-05/0.1205, allocations: 45.62 kB / 384.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.344e-05/0.1206, allocations: 64.36 kB / 384.9 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.1217, allocations: 0.5648 MB / 385.4 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.1217, allocations: 0 / 385.4 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.616e-05/0.1218, allocations: 24 kB / 385.4 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.1218, allocations: 16 kB / 385.5 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.123, allocations: 0.6415 MB / 386.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003047/0.126, allocations: 2.051 MB / 388.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0025/0.1286, allocations: 2.996 MB / 391.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004743/0.129, allocations: 278.1 kB / 391.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.043e-05/0.1291, allocations: 89.53 kB / 391.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.1292, allocations: 38.94 kB / 391.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 3.356e-06/0.1292, allocations: 0 / 391.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.001713/0.1309, allocations: 0.7543 MB / 392.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.131, allocations: 59.78 kB / 392.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.1312, allocations: 207.4 kB / 392.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.1312, allocations: 33.7 kB / 392.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.1313, allocations: 240.1 kB / 392.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.1315, allocations: 169.5 kB / 393 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.1316, allocations: 94.25 kB / 393.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1317, allocations: 334.8 kB / 393.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.132, allocations: 165 kB / 393.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/0.1324, allocations: 287.6 kB / 393.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007067/0.1331, allocations: 470.2 kB / 394.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1332, allocations: 0 / 394.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001046/0.1342, allocations: 0.5901 MB / 394.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.1342, allocations: 4 kB / 394.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1343, allocations: 4 kB / 394.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003456/0.1346, allocations: 88.98 kB / 395 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000434/0.1351, allocations: 107.9 kB / 395.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.1368, allocations: 1.778 MB / 396.9 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.1371, allocations: 51.52 kB / 396.9 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.1372, allocations: 20 kB / 397 MB, free: 8.438 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001968/0.1374, allocations: 181.7 kB / 397.1 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.1375, allocations: 31.56 kB / 397.2 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.1386, allocations: 0.5513 MB / 397.7 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.1386, allocations: 8 kB / 397.7 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.1386, allocations: 4 kB / 397.7 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1386, allocations: 0 / 397.7 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.1404, allocations: 1.175 MB / 398.9 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1404, allocations: 0 / 398.9 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003532/0.1408, allocations: 87.83 kB / 399 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002755/0.1411, allocations: 80.81 kB / 399.1 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.1411, allocations: 12 kB / 399.1 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001721/0.1428, allocations: 1.762 MB / 400.8 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1429, allocations: 0 / 400.8 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.1442, allocations: 0.8185 MB / 401.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.863e-05/0.1443, allocations: 112.7 kB / 401.8 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.1444, allocations: 16 kB / 401.8 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.1446, allocations: 27.92 kB / 401.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.475e-05/0.1447, allocations: 32.39 kB / 401.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.1448, allocations: 19.98 kB / 401.9 MB, free: 3.254 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.1449, allocations: 139.4 kB / 402 MB, free: 3.117 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1449, allocations: 4 kB / 402 MB, free: 3.113 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00056/0.1455, allocations: 155.6 kB / 402.2 MB, free: 2.961 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (46): * Single equations (assignments): 45 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002546/0.1457, allocations: 131.2 kB / 402.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.1469, allocations: 0.5931 MB / 402.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1469, allocations: 0 / 402.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005841/0.1475, allocations: 386.1 kB / 403.3 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.1478, allocations: 39.92 kB / 403.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.1493, allocations: 0.8697 MB / 404.2 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.1497, allocations: 0.8172 MB / 405 MB, free: 48 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002194/0.1499, allocations: 47.31 kB / 405 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.72e-05/0.15, allocations: 35.38 kB / 405.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.15, allocations: 4 kB / 405.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of Templates: time 0.009619/0.1597, allocations: 4.576 MB / 409.6 MB, free: 11.38 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1)