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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001215/0.001215, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001174/0.001174, allocations: 103.5 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.394/0.394, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.91 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4357/0.4369, allocations: 62.02 MB / 0.5151 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004442/0.4414, allocations: 2.62 MB / 0.5177 GB, free: 36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.4427, allocations: 0.6357 MB / 0.5183 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.4429, allocations: 2.75 kB / 0.5183 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.4431, allocations: 42.36 kB / 0.5184 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.4433, allocations: 59.67 kB / 0.5184 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.4435, allocations: 65.89 kB / 0.5185 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003308/0.4439, allocations: 277.5 kB / 0.5187 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.4441, allocations: 72.61 kB / 0.5188 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.4444, allocations: 115.7 kB / 0.5189 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.4445, allocations: 106.4 kB / 0.519 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.948e-05/0.4446, allocations: 13.66 kB / 0.519 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.878e-05/0.4446, allocations: 18.5 kB / 0.5191 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.548e-05/0.4447, allocations: 54.67 kB / 0.5191 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.4448, allocations: 120.4 kB / 0.5192 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.4452, allocations: 272 kB / 0.5195 GB, free: 34.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.4452, allocations: 0 / 0.5195 GB, free: 34.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4452, allocations: 0 / 0.5195 GB, free: 34.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.4452, allocations: 0 / 0.5195 GB, free: 34.95 MB / 378.7 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.0008948/0.4461, allocations: 0.5288 MB / 0.52 GB, free: 34.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.4462, allocations: 12.75 kB / 0.52 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.4464, allocations: 44.36 kB / 0.5201 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.4466, allocations: 235.3 kB / 0.5203 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.4466, allocations: 14.62 kB / 0.5203 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.4467, allocations: 21.92 kB / 0.5203 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.447, allocations: 197 kB / 0.5205 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.447, allocations: 0 / 0.5205 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.4471, allocations: 11.06 kB / 0.5205 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.4471, allocations: 5.688 kB / 0.5205 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002801/0.4474, allocations: 141 kB / 0.5207 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.4485, allocations: 0.8066 MB / 0.5214 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.4487, allocations: 104.8 kB / 0.5215 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.643e-05/0.4488, allocations: 43.94 kB / 0.5216 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.4488, allocations: 2.906 kB / 0.5216 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.4488, allocations: 34.56 kB / 0.5216 GB, free: 33.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.4488, allocations: 0 / 0.5216 GB, free: 33.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001563/0.4504, allocations: 0.7241 MB / 0.5223 GB, free: 32.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.4504, allocations: 54.5 kB / 0.5224 GB, free: 32.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.4506, allocations: 209.4 kB / 0.5226 GB, free: 32.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.4506, allocations: 25.7 kB / 0.5226 GB, free: 32.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.514e-05/0.4507, allocations: 173.9 kB / 0.5228 GB, free: 32.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.4508, allocations: 57.09 kB / 0.5228 GB, free: 32.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.116e-05/0.4508, allocations: 39 kB / 0.5229 GB, free: 32.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.781e-05/0.4509, allocations: 333 kB / 0.5232 GB, free: 32.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.4511, allocations: 67.06 kB / 0.5232 GB, free: 32.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.4512, allocations: 103.9 kB / 0.5233 GB, free: 32.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.4515, allocations: 170.4 kB / 0.5235 GB, free: 31.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.4515, allocations: 0 / 0.5235 GB, free: 31.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004522/0.452, allocations: 285.3 kB / 0.5238 GB, free: 31.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.452, allocations: 5.094 kB / 0.5238 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.452, allocations: 2.844 kB / 0.5238 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002295/0.4522, allocations: 67.97 kB / 0.5238 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.4524, allocations: 31.75 kB / 0.5239 GB, free: 31.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.4542, allocations: 2.807 MB / 0.5266 GB, free: 28.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.4543, allocations: 9.281 kB / 0.5266 GB, free: 28.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.4543, allocations: 12.77 kB / 0.5266 GB, free: 28.98 MB / 378.7 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.0001258/0.4545, allocations: 138.7 kB / 0.5268 GB, free: 28.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.4545, allocations: 18.47 kB / 0.5268 GB, free: 28.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.702e-05/0.4546, allocations: 26.69 kB / 0.5268 GB, free: 28.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4546, allocations: 3.281 kB / 0.5268 GB, free: 28.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.4546, allocations: 2.844 kB / 0.5268 GB, free: 28.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4546, allocations: 0 / 0.5268 GB, free: 28.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.4549, allocations: 291 kB / 0.5271 GB, free: 28.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4549, allocations: 0 / 0.5271 GB, free: 28.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.535e-05/0.455, allocations: 16.58 kB / 0.5271 GB, free: 28.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001625/0.4551, allocations: 75.44 kB / 0.5272 GB, free: 28.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.4552, allocations: 3.938 kB / 0.5272 GB, free: 28.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.4567, allocations: 2.798 MB / 0.5299 GB, free: 25.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4567, allocations: 0 / 0.5299 GB, free: 25.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003083/0.4598, allocations: 3.331 MB / 0.5332 GB, free: 22.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.4599, allocations: 95.14 kB / 0.5333 GB, free: 22.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.4599, allocations: 6.812 kB / 0.5333 GB, free: 22.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.4601, allocations: 20.23 kB / 0.5333 GB, free: 22.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.922e-05/0.4602, allocations: 19.2 kB / 0.5333 GB, free: 22.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.4602, allocations: 3 kB / 0.5333 GB, free: 22.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.4604, allocations: 153.7 kB / 0.5335 GB, free: 22.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.4604, allocations: 0 / 0.5335 GB, free: 22.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004935/0.4609, allocations: 86.91 kB / 0.5335 GB, free: 22.7 MB / 378.7 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.0001489/0.461, allocations: 95.38 kB / 0.5336 GB, free: 22.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006546/0.4617, allocations: 409.1 kB / 0.534 GB, free: 22.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.4617, allocations: 2.812 kB / 0.534 GB, free: 22.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003745/0.4621, allocations: 328.9 kB / 0.5343 GB, free: 22.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.4625, allocations: 42.86 kB / 0.5344 GB, free: 22.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.4636, allocations: 0.887 MB / 0.5352 GB, free: 21.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.4638, allocations: 0.7531 MB / 0.536 GB, free: 20.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.141e-05/0.4639, allocations: 17.77 kB / 0.536 GB, free: 20.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.464, allocations: 13.06 kB / 0.536 GB, free: 20.62 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.464, allocations: 2.969 kB / 0.536 GB, free: 20.62 MB / 378.7 MB Notification: Performance of Templates: time 0.005711/0.4697, allocations: 3.007 MB / 0.539 GB, free: 20.4 MB / 378.7 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)