Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.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.SeriesBode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 99.11 kB / 16.5 MB, free: 6.641 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.001704/0.001704, allocations: 195.4 kB / 17.42 MB, free: 6.066 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.391/1.391, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001453/0.001453, allocations: 55.92 kB / 279.3 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.098/0.09947, allocations: 46.63 MB / 326 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.005935/0.1054, allocations: 4.1 MB / 330.1 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003321/0.1088, allocations: 1.628 MB / 331.7 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006227/0.1095, allocations: 12 kB / 331.7 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002045/0.1115, allocations: 0.7239 MB / 332.4 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.1131, allocations: 0.5407 MB / 333 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.1144, allocations: 0.5103 MB / 333.5 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001197/0.1156, allocations: 0.5563 MB / 334 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009936/0.1166, allocations: 454.6 kB / 334.5 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000599/0.1172, allocations: 246.9 kB / 334.7 MB, free: 12.08 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005522/0.1178, allocations: 318.7 kB / 335 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002017/0.118, allocations: 40 kB / 335.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000723/0.1187, allocations: 231.8 kB / 335.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.1189, allocations: 127.4 kB / 335.4 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003874/0.1193, allocations: 278.5 kB / 335.7 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.1204, allocations: 0.8216 MB / 336.5 MB, free: 10.28 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1204, allocations: 0 / 336.5 MB, free: 10.28 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1204, allocations: 0 / 336.5 MB, free: 10.28 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.151e-05/0.1205, allocations: 4 kB / 336.5 MB, free: 10.28 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.003368/0.1238, allocations: 1.038 MB / 337.6 MB, free: 9.188 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.1239, allocations: 12.03 kB / 337.6 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004323/0.1282, allocations: 0.6012 MB / 338.2 MB, free: 8.574 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007098/0.129, allocations: 385.3 kB / 338.5 MB, free: 8.16 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.716e-05/0.129, allocations: 50.31 kB / 338.6 MB, free: 8.109 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.1291, allocations: 72.22 kB / 338.7 MB, free: 8.039 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.1306, allocations: 0.8055 MB / 339.5 MB, free: 7.223 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.1306, allocations: 4 kB / 339.5 MB, free: 7.219 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.999e-05/0.1307, allocations: 24 kB / 339.5 MB, free: 7.195 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/0.1308, allocations: 33.98 kB / 339.5 MB, free: 7.16 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.1324, allocations: 0.8394 MB / 340.4 MB, free: 6.324 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004282/0.1366, allocations: 2.715 MB / 343.1 MB, free: 3.43 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/0.1387, allocations: 1.968 MB / 345.1 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004595/0.1392, allocations: 250 kB / 345.3 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.926e-05/0.1393, allocations: 97.47 kB / 345.4 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1393, allocations: 35 kB / 345.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 2.354e-06/0.1393, allocations: 4 kB / 345.4 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.001949/0.1413, allocations: 0.8288 MB / 346.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.1413, allocations: 59.78 kB / 346.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/0.1417, allocations: 312.4 kB / 346.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.1418, allocations: 37.64 kB / 346.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.142, allocations: 291.7 kB / 346.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.1422, allocations: 165.6 kB / 347.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.1423, allocations: 114.2 kB / 347.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1425, allocations: 346.8 kB / 347.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004462/0.1429, allocations: 207.4 kB / 347.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005517/0.1435, allocations: 390.3 kB / 348.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000958/0.1445, allocations: 0.6116 MB / 348.8 MB, free: 13.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.341e-06/0.1445, allocations: 4 kB / 348.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001275/0.1458, allocations: 0.7041 MB / 349.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1458, allocations: 8 kB / 349.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.1458, allocations: 8 kB / 349.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002604/0.1461, allocations: 57.33 kB / 349.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/0.1466, allocations: 139.8 kB / 349.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.1481, allocations: 1.608 MB / 351.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004094/0.1485, allocations: 71.27 kB / 351.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.488e-05/0.1486, allocations: 28 kB / 351.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005805/0.1492, allocations: 333.4 kB / 351.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005091/0.1497, allocations: 386.3 kB / 352.1 MB, free: 9.586 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008672/0.1506, allocations: 0.604 MB / 352.7 MB, free: 8.898 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.1506, allocations: 0 / 352.7 MB, free: 8.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001288/0.1519, allocations: 0.6929 MB / 353.4 MB, free: 8.195 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1519, allocations: 8 kB / 353.4 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.152, allocations: 8 kB / 353.4 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001874/0.1522, allocations: 56.77 kB / 353.4 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004999/0.1527, allocations: 135.8 kB / 353.6 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.154, allocations: 1.604 MB / 355.2 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/0.1544, allocations: 55.58 kB / 355.2 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/0.1545, allocations: 32 kB / 355.3 MB, free: 6.16 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (69): * Single equations (assignments): 68 * 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002233/0.1547, allocations: 216.1 kB / 355.5 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.339e-05/0.1548, allocations: 43.41 kB / 355.5 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.1562, allocations: 0.6064 MB / 356.1 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.1562, allocations: 7.938 kB / 356.1 MB, free: 5.277 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.1562, allocations: 7.938 kB / 356.1 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.1562, allocations: 7.984 kB / 356.2 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.1583, allocations: 1.285 MB / 357.4 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1583, allocations: 4 kB / 357.4 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/0.1587, allocations: 83.89 kB / 357.5 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001878/0.1589, allocations: 60.75 kB / 357.6 MB, free: 3.773 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.1589, allocations: 12.12 kB / 357.6 MB, free: 3.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.1603, allocations: 1.592 MB / 359.2 MB, free: 2.031 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1603, allocations: 0 / 359.2 MB, free: 2.031 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.1619, allocations: 0.9247 MB / 360.1 MB, free: 1.086 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.1621, allocations: 148.6 kB / 360.3 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.362e-05/0.1621, allocations: 8 kB / 360.3 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.1624, allocations: 24.05 kB / 360.3 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.1625, allocations: 36.39 kB / 360.3 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/0.1626, allocations: 15.98 kB / 360.3 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000221/0.1628, allocations: 215.1 kB / 360.5 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1628, allocations: 0 / 360.5 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001104/0.1639, allocations: 271.1 kB / 360.8 MB, free: 376 kB / 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 (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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002831/0.1642, allocations: 135.2 kB / 360.9 MB, free: 232 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.1665, allocations: 1.111 MB / 362.1 MB, free: 15.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.1665, allocations: 0 / 362.1 MB, free: 15.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006337/0.1671, allocations: 389 kB / 362.4 MB, free: 14.7 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/0.1677, allocations: 53.14 kB / 362.5 MB, free: 14.64 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.1699, allocations: 1.251 MB / 363.7 MB, free: 13.37 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.1704, allocations: 0.8408 MB / 364.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001479/0.1719, allocations: 1.088 MB / 365.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.1721, allocations: 47.42 kB / 365.7 MB, free: 11.37 MB / 318.1 MB Notification: Performance of SimCode: time 2.746e-06/0.1721, allocations: 0 / 365.7 MB, free: 11.37 MB / 318.1 MB Notification: Performance of Templates: time 0.01159/0.1837, allocations: 5.373 MB / 371.1 MB, free: 5.996 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1)