Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.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.SingularTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00158/0.00158, allocations: 118.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00197/0.00197, allocations: 201.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.627/1.627, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2473/0.2473, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 79.86 kB / 481.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4257, allocations: 62.43 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004084/0.4298, allocations: 2.581 MB / 0.5335 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.4316, allocations: 0.6673 MB / 0.5341 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.4319, allocations: 8.062 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.4321, allocations: 35.77 kB / 0.5342 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.4323, allocations: 75.59 kB / 0.5343 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.4327, allocations: 85.44 kB / 0.5343 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004227/0.4331, allocations: 291.2 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002715/0.4334, allocations: 94.92 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.4337, allocations: 113.5 kB / 0.5348 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.4339, allocations: 118.2 kB / 0.5349 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.501e-05/0.434, allocations: 22.94 kB / 0.5349 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.4341, allocations: 32.7 kB / 0.535 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.963e-05/0.4341, allocations: 50.64 kB / 0.535 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.4343, allocations: 128.1 kB / 0.5351 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004545/0.4348, allocations: 291.8 kB / 0.5354 GB, free: 10.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4348, allocations: 0 / 0.5354 GB, free: 10.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4348, allocations: 4 kB / 0.5354 GB, free: 10.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.4348, allocations: 1.156 kB / 0.5354 GB, free: 10.15 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.000873/0.4357, allocations: 0.5291 MB / 0.5359 GB, free: 9.656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.4357, allocations: 9.625 kB / 0.536 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.436, allocations: 35.83 kB / 0.536 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.4364, allocations: 258.1 kB / 0.5362 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.4364, allocations: 16.69 kB / 0.5363 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.4365, allocations: 18.56 kB / 0.5363 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003941/0.4369, allocations: 198.5 kB / 0.5365 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.4369, allocations: 0 / 0.5365 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.4369, allocations: 14.86 kB / 0.5365 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.4369, allocations: 8.188 kB / 0.5365 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.4372, allocations: 136.8 kB / 0.5366 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.4387, allocations: 0.8047 MB / 0.5374 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.4389, allocations: 103.5 kB / 0.5375 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.439, allocations: 47.44 kB / 0.5375 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.439, allocations: 1.156 kB / 0.5375 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.4391, allocations: 31.88 kB / 0.5376 GB, free: 8.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.4391, allocations: 4 kB / 0.5376 GB, free: 8.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001923/0.441, allocations: 0.717 MB / 0.5383 GB, free: 7.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.4411, allocations: 53.97 kB / 0.5383 GB, free: 7.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.4413, allocations: 212.2 kB / 0.5385 GB, free: 7.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.4414, allocations: 29.7 kB / 0.5386 GB, free: 7.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.4415, allocations: 165.3 kB / 0.5387 GB, free: 7.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.4415, allocations: 58.59 kB / 0.5388 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.792e-05/0.4416, allocations: 51.58 kB / 0.5388 GB, free: 7.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4418, allocations: 334.6 kB / 0.5391 GB, free: 6.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.4419, allocations: 59.91 kB / 0.5392 GB, free: 6.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.4421, allocations: 107.9 kB / 0.5393 GB, free: 6.844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.4425, allocations: 178 kB / 0.5395 GB, free: 6.723 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.4425, allocations: 1.125 kB / 0.5395 GB, free: 6.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006032/0.4431, allocations: 279.5 kB / 0.5397 GB, free: 6.562 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.4431, allocations: 5.094 kB / 0.5397 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.4431, allocations: 1.969 kB / 0.5397 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002709/0.4434, allocations: 67.83 kB / 0.5398 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.4436, allocations: 40.34 kB / 0.5398 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/0.4461, allocations: 3.019 MB / 0.5428 GB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.4462, allocations: 9.297 kB / 0.5428 GB, free: 3.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.4463, allocations: 9.844 kB / 0.5428 GB, free: 3.457 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001555/0.4464, allocations: 135.8 kB / 0.5429 GB, free: 3.324 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/0.4465, allocations: 19.16 kB / 0.543 GB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.4465, allocations: 24.83 kB / 0.543 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4465, allocations: 6.875 kB / 0.543 GB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.4465, allocations: 1.719 kB / 0.543 GB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4465, allocations: 4 kB / 0.543 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.4469, allocations: 291.2 kB / 0.5433 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4469, allocations: 1.156 kB / 0.5433 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.559e-05/0.447, allocations: 19.77 kB / 0.5433 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001887/0.4472, allocations: 65.39 kB / 0.5434 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.4472, allocations: 13.16 kB / 0.5434 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002445/0.4497, allocations: 3.015 MB / 0.5463 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4497, allocations: 0 / 0.5463 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006484/0.4503, allocations: 398.4 kB / 0.5467 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.4504, allocations: 89.2 kB / 0.5468 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.4504, allocations: 10.41 kB / 0.5468 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.4506, allocations: 13.69 kB / 0.5468 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.496e-05/0.4507, allocations: 22.95 kB / 0.5468 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.4507, allocations: 3.656 kB / 0.5468 GB, free: 15.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.4509, allocations: 152.4 kB / 0.547 GB, free: 15.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4509, allocations: 0 / 0.547 GB, free: 15.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000368/0.4513, allocations: 64.06 kB / 0.547 GB, free: 15.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001231/0.4514, allocations: 101.7 kB / 0.5471 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007168/0.4521, allocations: 401.4 kB / 0.5475 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4521, allocations: 320 / 0.5475 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004543/0.4526, allocations: 326.5 kB / 0.5478 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.4529, allocations: 34.73 kB / 0.5479 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.4541, allocations: 0.5041 MB / 0.5484 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.4545, allocations: 0.747 MB / 0.5491 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.31e-05/0.4546, allocations: 22.5 kB / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.296e-05/0.4546, allocations: 16.16 kB / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of SimCode: time 2.184e-06/0.4546, allocations: 0 / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of Templates: time 0.006683/0.4613, allocations: 2.73 MB / 0.5518 GB, free: 11.34 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1)