Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.007221/0.007221, allocations: 101.9 kB / 15.73 MB, free: 6.438 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.001685/0.001685, allocations: 194.6 kB / 16.67 MB, free: 6.355 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.354/1.354, allocations: 205.1 MB / 222.6 MB, free: 4.48 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.001213/0.001213, allocations: 58.05 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07523/0.07645, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.005108/0.08159, allocations: 4.089 MB / 377.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002545/0.08416, allocations: 1.644 MB / 378.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003101/0.08451, allocations: 16 kB / 378.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.08628, allocations: 0.7894 MB / 379.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001173/0.08747, allocations: 0.5753 MB / 380.3 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.0885, allocations: 0.545 MB / 380.8 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007165/0.08923, allocations: 0.5874 MB / 381.4 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007472/0.08999, allocations: 0.4961 MB / 381.9 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004169/0.09042, allocations: 274.9 kB / 382.2 MB, free: 8.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004442/0.09087, allocations: 322.7 kB / 382.5 MB, free: 7.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.878e-05/0.09098, allocations: 56 kB / 382.5 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004646/0.09145, allocations: 243.8 kB / 382.8 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.09158, allocations: 131.5 kB / 382.9 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002989/0.09189, allocations: 306.4 kB / 383.2 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009349/0.09283, allocations: 0.8371 MB / 384 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.09285, allocations: 4 kB / 384.1 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.09285, allocations: 0 / 384.1 MB, free: 6.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.058e-05/0.09288, allocations: 0 / 384.1 MB, free: 6.379 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002171/0.09506, allocations: 1.007 MB / 385.1 MB, free: 5.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.0951, allocations: 12.03 kB / 385.1 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004399/0.0995, allocations: 0.605 MB / 385.7 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000602/0.1001, allocations: 389.2 kB / 386.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.328e-05/0.1002, allocations: 50.38 kB / 386.1 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.422e-05/0.1003, allocations: 64.38 kB / 386.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.1015, allocations: 0.7391 MB / 386.9 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.1016, allocations: 4 kB / 386.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.365e-05/0.1017, allocations: 24 kB / 386.9 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.1017, allocations: 16 kB / 387 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.103, allocations: 0.7223 MB / 387.7 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00347/0.1065, allocations: 2.522 MB / 390.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/0.1085, allocations: 1.963 MB / 392.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004109/0.109, allocations: 210.1 kB / 392.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-05/0.1091, allocations: 93.83 kB / 392.5 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.1091, allocations: 35 kB / 392.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.154e-06/0.1091, allocations: 0 / 392.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.001682/0.1108, allocations: 0.7114 MB / 393.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.1109, allocations: 63.78 kB / 393.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/0.1112, allocations: 308.4 kB / 393.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.1112, allocations: 33.7 kB / 393.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.1114, allocations: 291.6 kB / 393.9 MB, free: 11.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.1115, allocations: 165.5 kB / 394 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.1117, allocations: 110.2 kB / 394.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1118, allocations: 350.8 kB / 394.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/0.1122, allocations: 171.4 kB / 394.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/0.1127, allocations: 349.2 kB / 395 MB, free: 10.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008892/0.1136, allocations: 0.5416 MB / 395.5 MB, free: 10 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.1136, allocations: 4 kB / 395.5 MB, free: 10 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001154/0.1148, allocations: 0.6256 MB / 396.2 MB, free: 9.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1148, allocations: 9.094 kB / 396.2 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.1148, allocations: 4 kB / 396.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000242/0.1151, allocations: 56.83 kB / 396.2 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/0.1156, allocations: 127.8 kB / 396.4 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/0.1171, allocations: 1.779 MB / 398.1 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.1175, allocations: 75.27 kB / 398.2 MB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.1175, allocations: 28 kB / 398.2 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004642/0.118, allocations: 293.3 kB / 398.5 MB, free: 6.859 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004253/0.1184, allocations: 341.2 kB / 398.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007837/0.1192, allocations: 0.5339 MB / 399.4 MB, free: 5.836 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.048e-06/0.1193, allocations: 7.938 kB / 399.4 MB, free: 5.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001081/0.1203, allocations: 0.6132 MB / 400 MB, free: 5.207 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.1204, allocations: 8 kB / 400 MB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1204, allocations: 8.625 kB / 400 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001667/0.1205, allocations: 60.83 kB / 400.1 MB, free: 5.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/0.121, allocations: 127.8 kB / 400.2 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.1224, allocations: 1.767 MB / 402 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003269/0.1228, allocations: 47.53 kB / 402 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.1228, allocations: 39.92 kB / 402.1 MB, free: 3.012 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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.0001572/0.123, allocations: 216.1 kB / 402.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.95e-05/0.123, allocations: 39.66 kB / 402.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.1242, allocations: 0.5205 MB / 402.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.1242, allocations: 12 kB / 402.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1242, allocations: 0 / 402.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1242, allocations: 3.984 kB / 402.9 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.1259, allocations: 1.158 MB / 404 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1259, allocations: 3.938 kB / 404 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003877/0.1263, allocations: 83.89 kB / 404.1 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001763/0.1265, allocations: 48.83 kB / 404.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/0.1266, allocations: 12 kB / 404.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.1281, allocations: 1.748 MB / 405.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1281, allocations: 3.938 kB / 405.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.1296, allocations: 0.7854 MB / 406.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.1297, allocations: 156.5 kB / 406.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.1298, allocations: 11.94 kB / 406.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.1301, allocations: 23.98 kB / 406.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/0.1302, allocations: 28.39 kB / 406.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.1302, allocations: 19.98 kB / 406.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002465/0.1305, allocations: 211.1 kB / 407.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1305, allocations: 64 / 407.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009624/0.1314, allocations: 267.1 kB / 407.4 MB, free: 13.42 MB / 350.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.0002408/0.1317, allocations: 143 kB / 407.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001875/0.1336, allocations: 0.9797 MB / 408.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1336, allocations: 0 / 408.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005983/0.1342, allocations: 365.1 kB / 408.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.1346, allocations: 44.64 kB / 408.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.1365, allocations: 0.9512 MB / 409.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.137, allocations: 0.8446 MB / 410.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003495/0.1374, allocations: 84.12 kB / 410.8 MB, free: 9.922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.1375, allocations: 47.42 kB / 410.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1375, allocations: 0 / 410.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of Templates: time 0.01085/0.1484, allocations: 5.188 MB / 416 MB, free: 4.676 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1)