Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 98.61 kB / 17 MB, free: 6.402 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.001285/0.001286, allocations: 180.4 kB / 17.89 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.3 MB / 241.9 MB, free: 14.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2283/0.2283, allocations: 44.25 MB / 337.3 MB, free: 2.543 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003423, allocations: 8 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1396, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007726/0.1474, allocations: 6.655 MB / 478.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005053/0.1525, allocations: 2.171 MB / 480.4 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005944/0.1531, allocations: 27.94 kB / 480.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007427/0.1539, allocations: 262.5 kB / 480.7 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001906/0.1558, allocations: 0.7269 MB / 481.4 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.1581, allocations: 0.7403 MB / 482.2 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002688/0.1608, allocations: 1.273 MB / 483.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004255/0.1651, allocations: 1.528 MB / 485 MB, free: 244 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.1666, allocations: 0.4943 MB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.1677, allocations: 0.6302 MB / 486.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.1679, allocations: 56 kB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.1693, allocations: 259.8 kB / 486.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003233/0.1696, allocations: 223 kB / 486.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005244/0.1701, allocations: 241.1 kB / 486.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002307/0.1725, allocations: 1.305 MB / 488.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1725, allocations: 3.828 kB / 488.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1725, allocations: 0 / 488.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.1725, allocations: 0 / 488.2 MB, free: 13.03 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.01131/0.1838, allocations: 2.154 MB / 490.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.165e-05/0.1839, allocations: 12.56 kB / 490.3 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01581/0.1998, allocations: 1.392 MB / 491.7 MB, free: 9.414 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0025/0.2023, allocations: 0.5885 MB / 492.3 MB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.2025, allocations: 94.64 kB / 492.4 MB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003418/0.2029, allocations: 135.9 kB / 492.5 MB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004128/0.207, allocations: 1.487 MB / 494 MB, free: 7.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.899e-05/0.2071, allocations: 0 / 494 MB, free: 7.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/0.2073, allocations: 56 kB / 494.1 MB, free: 6.965 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.126e-05/0.2074, allocations: 39.97 kB / 494.1 MB, free: 6.926 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003978/0.2114, allocations: 1.517 MB / 495.6 MB, free: 5.402 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0094/0.2208, allocations: 5.416 MB / 0.4893 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002639/0.2234, allocations: 2.178 MB / 0.4914 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.2246, allocations: 0.6554 MB / 0.4921 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001751/0.2248, allocations: 102.1 kB / 0.4922 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/0.2248, allocations: 51.55 kB / 0.4922 GB, free: 12.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 3.547e-06/0.2248, allocations: 0 / 0.4922 GB, free: 12.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.008677/0.2335, allocations: 3.067 MB / 0.4952 GB, free: 9.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.2336, allocations: 94.05 kB / 0.4953 GB, free: 9.258 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007356/0.2344, allocations: 465.8 kB / 0.4958 GB, free: 8.789 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.713e-05/0.2345, allocations: 41.7 kB / 0.4958 GB, free: 8.742 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004691/0.235, allocations: 467.5 kB / 0.4962 GB, free: 8.277 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004161/0.2354, allocations: 417.8 kB / 0.4966 GB, free: 7.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.46e-05/0.2355, allocations: 24 kB / 0.4967 GB, free: 7.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002581/0.2357, allocations: 386.7 kB / 0.497 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009057/0.2366, allocations: 466.4 kB / 0.4975 GB, free: 7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.2378, allocations: 0.6996 MB / 0.4982 GB, free: 6.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.2389, allocations: 0.5137 MB / 0.4987 GB, free: 5.695 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/0.2389, allocations: 4 kB / 0.4987 GB, free: 5.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003058/0.242, allocations: 1.586 MB / 0.5002 GB, free: 4.094 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.242, allocations: 11.94 kB / 0.5002 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/0.242, allocations: 4 kB / 0.5002 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001611/0.2437, allocations: 0.5243 MB / 0.5007 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007796/0.2445, allocations: 203.6 kB / 0.5009 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3336/0.578, allocations: 4.699 MB / 0.5055 GB, free: 45.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.5792, allocations: 133.4 kB / 0.5056 GB, free: 45.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.5793, allocations: 50.83 kB / 0.5057 GB, free: 45.13 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of prepare postOptimizeDAE: time 0.0006671/0.58, allocations: 266.2 kB / 0.506 GB, free: 45.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002701/0.5803, allocations: 83.52 kB / 0.506 GB, free: 45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003246/0.5835, allocations: 1.583 MB / 0.5076 GB, free: 44.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/0.5836, allocations: 17 kB / 0.5076 GB, free: 44.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5836, allocations: 0.7031 kB / 0.5076 GB, free: 44.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.82e-05/0.5836, allocations: 10.02 kB / 0.5076 GB, free: 44.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005031/0.5887, allocations: 2.878 MB / 0.5104 GB, free: 43.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.5887, allocations: 2.25 kB / 0.5104 GB, free: 43.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006438/0.5893, allocations: 150.1 kB / 0.5106 GB, free: 43.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/0.5908, allocations: 0.5158 MB / 0.5111 GB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.954e-05/0.5909, allocations: 24.5 kB / 0.5111 GB, free: 43.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007387/0.5983, allocations: 4.687 MB / 0.5157 GB, free: 40.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.5983, allocations: 1.062 kB / 0.5157 GB, free: 40.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004634/0.603, allocations: 2.352 MB / 0.518 GB, free: 39.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000618/0.6036, allocations: 294.3 kB / 0.5182 GB, free: 39.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.6038, allocations: 22.08 kB / 0.5183 GB, free: 39.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006424/0.6044, allocations: 59.67 kB / 0.5183 GB, free: 39.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003365/0.6047, allocations: 100.2 kB / 0.5184 GB, free: 39.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.724e-05/0.6048, allocations: 37.97 kB / 0.5185 GB, free: 39.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004522/0.6053, allocations: 305 kB / 0.5187 GB, free: 39.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6053, allocations: 0 / 0.5187 GB, free: 39.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001756/0.6071, allocations: 414.8 kB / 0.5191 GB, free: 38.96 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003278/0.6074, allocations: 157.9 kB / 0.5193 GB, free: 38.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003714/0.6111, allocations: 1.84 MB / 0.5211 GB, free: 38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.6112, allocations: 4.062 kB / 0.5211 GB, free: 38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002297/0.6135, allocations: 1.24 MB / 0.5223 GB, free: 37.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008529/0.6143, allocations: 100.7 kB / 0.5224 GB, free: 37.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003976/0.6183, allocations: 2.546 MB / 0.5249 GB, free: 35.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006046/0.6189, allocations: 1.072 MB / 0.5259 GB, free: 35.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005656/0.6195, allocations: 111.3 kB / 0.526 GB, free: 35.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.6197, allocations: 62 kB / 0.5261 GB, free: 35.01 MB / 382.1 MB Notification: Performance of SimCode: time 1.422e-06/0.6197, allocations: 0 / 0.5261 GB, free: 35.01 MB / 382.1 MB Notification: Performance of Templates: time 0.02484/0.6446, allocations: 16.27 MB / 0.542 GB, free: 23.36 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1)