Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009023/0.0009024, allocations: 97.42 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001148/0.001148, allocations: 210.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.7 MB / 246.8 MB, free: 9.781 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2225/0.2225, allocations: 46.19 MB / 345.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002824/0.0002824, allocations: 11.98 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1299, allocations: 63.55 MB / 483.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007374/0.1373, allocations: 7.148 MB / 490.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004827/0.1421, allocations: 2.369 MB / 492.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008585/0.1431, allocations: 28 kB / 492.6 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.1441, allocations: 354.4 kB / 493 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.1462, allocations: 0.6407 MB / 493.6 MB, free: 9.566 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.1484, allocations: 1.007 MB / 494.6 MB, free: 8.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001766/0.1502, allocations: 1.343 MB / 496 MB, free: 7.223 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002993/0.1532, allocations: 1.689 MB / 497.7 MB, free: 5.492 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008182/0.154, allocations: 0.5213 MB / 498.2 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000703/0.1547, allocations: 0.6533 MB / 498.8 MB, free: 4.312 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.1549, allocations: 60 kB / 498.9 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007878/0.1557, allocations: 271.8 kB / 499.2 MB, free: 3.988 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.1559, allocations: 234.9 kB / 499.4 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005792/0.1565, allocations: 0.6117 MB / 500 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.1583, allocations: 1.646 MB / 0.4899 GB, free: 1.484 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1583, allocations: 0 / 0.4899 GB, free: 1.484 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1583, allocations: 4 kB / 0.4899 GB, free: 1.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.1583, allocations: 4 kB / 0.4899 GB, free: 1.477 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.00717/0.1655, allocations: 2.149 MB / 0.492 GB, free: 15.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/0.1656, allocations: 8.875 kB / 0.492 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009851/0.1754, allocations: 1.404 MB / 0.4934 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.1766, allocations: 0.6089 MB / 0.494 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.537e-05/0.1767, allocations: 95.02 kB / 0.4941 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/0.1769, allocations: 132.4 kB / 0.4942 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/0.1797, allocations: 1.494 MB / 0.4956 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.403e-05/0.1797, allocations: 3.984 kB / 0.4956 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.1799, allocations: 52 kB / 0.4957 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.012e-05/0.1799, allocations: 36 kB / 0.4957 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002722/0.1826, allocations: 1.525 MB / 0.4972 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00876/0.1914, allocations: 5.658 MB / 0.5027 GB, free: 3.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/0.1939, allocations: 2.182 MB / 0.5049 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.195, allocations: 0.6593 MB / 0.5055 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001974/0.1952, allocations: 191.2 kB / 0.5057 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.02e-05/0.1953, allocations: 55.48 kB / 0.5058 GB, free: 480 kB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 3.366e-06/0.1953, allocations: 4 kB / 0.5058 GB, free: 476 kB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.262/0.4573, allocations: 3.136 MB / 0.5088 GB, free: 38.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.4574, allocations: 94.33 kB / 0.5089 GB, free: 38.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006446/0.4581, allocations: 463.4 kB / 0.5094 GB, free: 38.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.509e-05/0.4581, allocations: 45.89 kB / 0.5094 GB, free: 38.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.4585, allocations: 464.9 kB / 0.5098 GB, free: 38.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003273/0.4588, allocations: 423 kB / 0.5102 GB, free: 38.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.459, allocations: 105.7 kB / 0.5103 GB, free: 38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.4591, allocations: 381.9 kB / 0.5107 GB, free: 37.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008727/0.46, allocations: 470.7 kB / 0.5112 GB, free: 37.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009856/0.461, allocations: 0.7044 MB / 0.5118 GB, free: 37.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/0.4628, allocations: 1.218 MB / 0.513 GB, free: 36.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.4628, allocations: 3.453 kB / 0.513 GB, free: 36.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002926/0.4658, allocations: 1.612 MB / 0.5146 GB, free: 35.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.4658, allocations: 8.406 kB / 0.5146 GB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.4658, allocations: 6.781 kB / 0.5146 GB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/0.4674, allocations: 0.5245 MB / 0.5151 GB, free: 35.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007903/0.4683, allocations: 206.4 kB / 0.5153 GB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007128/0.4754, allocations: 4.713 MB / 0.5199 GB, free: 32.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008339/0.4762, allocations: 131.7 kB / 0.5201 GB, free: 32.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.453e-05/0.4763, allocations: 47.56 kB / 0.5201 GB, free: 32.54 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 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0004625/0.4768, allocations: 272.4 kB / 0.5204 GB, free: 32.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.477, allocations: 83.92 kB / 0.5204 GB, free: 32.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002861/0.4798, allocations: 1.585 MB / 0.522 GB, free: 31.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.4799, allocations: 12.75 kB / 0.522 GB, free: 31.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4799, allocations: 5.062 kB / 0.522 GB, free: 31.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.817e-05/0.4799, allocations: 7.906 kB / 0.522 GB, free: 31.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005008/0.4849, allocations: 2.891 MB / 0.5248 GB, free: 30.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.4849, allocations: 4.938 kB / 0.5248 GB, free: 30.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006372/0.4856, allocations: 146.9 kB / 0.525 GB, free: 30.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/0.4871, allocations: 0.5152 MB / 0.5255 GB, free: 29.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.17e-05/0.4871, allocations: 33.12 kB / 0.5255 GB, free: 29.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006356/0.4935, allocations: 4.696 MB / 0.5301 GB, free: 26.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4935, allocations: 1.344 kB / 0.5301 GB, free: 26.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00369/0.4972, allocations: 2.361 MB / 0.5324 GB, free: 25.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003813/0.4976, allocations: 281.4 kB / 0.5327 GB, free: 25.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.299e-05/0.4977, allocations: 25.56 kB / 0.5327 GB, free: 25.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005986/0.4983, allocations: 60.12 kB / 0.5328 GB, free: 25.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002164/0.4985, allocations: 99.14 kB / 0.5329 GB, free: 25.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.235e-05/0.4986, allocations: 31.47 kB / 0.5329 GB, free: 25.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002972/0.4989, allocations: 315.6 kB / 0.5332 GB, free: 25.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4989, allocations: 0 / 0.5332 GB, free: 25.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001218/0.5002, allocations: 422.8 kB / 0.5336 GB, free: 25.16 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002587/0.5004, allocations: 159.3 kB / 0.5337 GB, free: 25.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002918/0.5033, allocations: 1.854 MB / 0.5356 GB, free: 24.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5034, allocations: 3.938 kB / 0.5356 GB, free: 24.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001853/0.5052, allocations: 1.247 MB / 0.5368 GB, free: 23.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007096/0.5059, allocations: 96.86 kB / 0.5369 GB, free: 23.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.5089, allocations: 2.675 MB / 0.5395 GB, free: 21.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.5094, allocations: 1.08 MB / 0.5405 GB, free: 20.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004554/0.5098, allocations: 110.8 kB / 0.5406 GB, free: 20.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.51, allocations: 59.42 kB / 0.5407 GB, free: 20.01 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.51, allocations: 0 / 0.5407 GB, free: 20.01 MB / 382.1 MB Notification: Performance of Templates: time 0.02254/0.5326, allocations: 16.79 MB / 0.5571 GB, free: 3.371 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1)