Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 192.9 kB / 16.53 MB, free: 6.672 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.352/1.352, allocations: 205.1 MB / 222.4 MB, free: 4.637 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.001181/0.001181, allocations: 55.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2041, allocations: 46.63 MB / 325.3 MB, free: 2.059 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.006218/0.2104, allocations: 4.297 MB / 329.6 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002583/0.213, allocations: 1.627 MB / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002741/0.2133, allocations: 12.44 kB / 331.3 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.2136, allocations: 129.1 kB / 331.4 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007308/0.2144, allocations: 357.5 kB / 331.7 MB, free: 12.89 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.2148, allocations: 239.3 kB / 332 MB, free: 12.67 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008254/0.2156, allocations: 0.9719 MB / 332.9 MB, free: 12.08 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003486/0.216, allocations: 239.3 kB / 333.2 MB, free: 11.96 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004306/0.2164, allocations: 375.4 kB / 333.5 MB, free: 11.73 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004753/0.2169, allocations: 423.1 kB / 333.9 MB, free: 11.41 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.217, allocations: 96 kB / 334 MB, free: 11.31 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003527/0.2174, allocations: 219.9 kB / 334.3 MB, free: 11.1 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.2176, allocations: 199.3 kB / 334.5 MB, free: 10.9 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003486/0.2179, allocations: 414.1 kB / 334.9 MB, free: 10.5 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009494/0.2189, allocations: 1.152 MB / 336 MB, free: 9.34 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2189, allocations: 0 / 336 MB, free: 9.34 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.2189, allocations: 4 kB / 336 MB, free: 9.336 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.2189, allocations: 0 / 336 MB, free: 9.336 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002178/0.2211, allocations: 1.091 MB / 337.1 MB, free: 8.191 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.2211, allocations: 11.89 kB / 337.1 MB, free: 8.18 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.2213, allocations: 76.09 kB / 337.2 MB, free: 8.105 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006147/0.2219, allocations: 0.5106 MB / 337.7 MB, free: 7.559 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.957e-05/0.222, allocations: 79.56 kB / 337.8 MB, free: 7.477 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.2222, allocations: 64.5 kB / 337.8 MB, free: 7.414 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009944/0.2232, allocations: 0.6019 MB / 338.4 MB, free: 6.793 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.2232, allocations: 4 kB / 338.4 MB, free: 6.789 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.567e-05/0.2233, allocations: 24 kB / 338.5 MB, free: 6.766 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.2233, allocations: 15.98 kB / 338.5 MB, free: 6.75 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.2243, allocations: 0.5282 MB / 339 MB, free: 6.223 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00308/0.2274, allocations: 2.31 MB / 341.3 MB, free: 3.801 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000929/0.2284, allocations: 477.2 kB / 341.8 MB, free: 3.316 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005177/0.2289, allocations: 262.1 kB / 342 MB, free: 3.055 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.2289, allocations: 4 kB / 342 MB, free: 3.051 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.229, allocations: 42.56 kB / 342.1 MB, free: 3 MB / 270.1 MB Notification: Performance of pre-optimization done (n=45): time 2.043e-06/0.229, allocations: 0 / 342.1 MB, free: 3 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.01252/0.2415, allocations: 3.55 MB / 345.6 MB, free: 15.35 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.2416, allocations: 85.67 kB / 345.7 MB, free: 15.25 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006326/0.2422, allocations: 0.537 MB / 346.3 MB, free: 14.7 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.2423, allocations: 33.7 kB / 346.3 MB, free: 14.66 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.2425, allocations: 312.3 kB / 346.6 MB, free: 14.35 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.2426, allocations: 212.9 kB / 346.8 MB, free: 14.14 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.2428, allocations: 118.2 kB / 346.9 MB, free: 14.02 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2429, allocations: 362.8 kB / 347.3 MB, free: 13.65 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005321/0.2435, allocations: 253.2 kB / 347.5 MB, free: 13.41 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005743/0.2441, allocations: 344.3 kB / 347.9 MB, free: 13.04 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.2452, allocations: 0.602 MB / 348.5 MB, free: 12.4 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2452, allocations: 0 / 348.5 MB, free: 12.4 MB / 286.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001437/0.2466, allocations: 0.7487 MB / 349.2 MB, free: 11.64 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.2467, allocations: 16.3 kB / 349.2 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2467, allocations: 4 kB / 349.2 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001517/0.2469, allocations: 28.84 kB / 349.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007808/0.2476, allocations: 159.8 kB / 349.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.2487, allocations: 1.432 MB / 350.8 MB, free: 9.859 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005549/0.2492, allocations: 43.81 kB / 350.9 MB, free: 9.816 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-05/0.2493, allocations: 27.98 kB / 350.9 MB, free: 9.789 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002629/0.2496, allocations: 193.9 kB / 351.1 MB, free: 9.59 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.2497, allocations: 63.33 kB / 351.2 MB, free: 9.527 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/0.2514, allocations: 0.8374 MB / 352 MB, free: 8.68 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.2515, allocations: 19.92 kB / 352 MB, free: 8.66 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.2515, allocations: 0 / 352 MB, free: 8.66 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.2515, allocations: 0 / 352 MB, free: 8.66 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003515/0.255, allocations: 1.855 MB / 353.9 MB, free: 6.746 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.255, allocations: 3.984 kB / 353.9 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005085/0.2556, allocations: 103.9 kB / 354 MB, free: 6.641 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00232/0.2579, allocations: 472.2 kB / 354.4 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.339e-05/0.258, allocations: 23.98 kB / 354.5 MB, free: 6.152 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004813/0.2628, allocations: 3.154 MB / 357.6 MB, free: 2.863 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2628, allocations: 0 / 357.6 MB, free: 2.863 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/0.2657, allocations: 1.362 MB / 359 MB, free: 1.477 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/0.266, allocations: 216.3 kB / 359.2 MB, free: 1.246 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.089e-05/0.2661, allocations: 12 kB / 359.2 MB, free: 1.234 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005933/0.2667, allocations: 43.95 kB / 359.3 MB, free: 1.191 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.2668, allocations: 48.5 kB / 359.3 MB, free: 1.145 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/0.2669, allocations: 16 kB / 359.3 MB, free: 1.129 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004453/0.2673, allocations: 390.8 kB / 359.7 MB, free: 0.75 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2673, allocations: 3.938 kB / 359.7 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006989/0.268, allocations: 184 kB / 359.9 MB, free: 0.5664 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002638/0.2683, allocations: 147.2 kB / 360 MB, free: 424 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001766/0.2701, allocations: 0.7521 MB / 360.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.2701, allocations: 0 / 360.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009236/0.271, allocations: 0.5256 MB / 361.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007651/0.2718, allocations: 89.81 kB / 361.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.2744, allocations: 1.479 MB / 362.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.2748, allocations: 0.9004 MB / 363.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003277/0.2751, allocations: 76.78 kB / 363.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.2753, allocations: 51.42 kB / 363.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2753, allocations: 4 kB / 363.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of Templates: time 0.01571/0.291, allocations: 10.24 MB / 374.1 MB, free: 2.199 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1)