Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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) 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(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001284, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 204 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2319, allocations: 50.54 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005018/0.2369, allocations: 4.382 MB / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.2394, allocations: 1.644 MB / 416 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.2396, allocations: 8 kB / 416 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.24, allocations: 122.8 kB / 416.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006572/0.2406, allocations: 357.6 kB / 416.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.241, allocations: 247.6 kB / 416.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007951/0.2418, allocations: 0.9784 MB / 417.7 MB, free: 9.801 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000325/0.2422, allocations: 249.2 kB / 417.9 MB, free: 9.555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003922/0.2426, allocations: 382.7 kB / 418.3 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004306/0.243, allocations: 434.2 kB / 418.7 MB, free: 8.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.2431, allocations: 96 kB / 418.8 MB, free: 8.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003477/0.2435, allocations: 223.9 kB / 419 MB, free: 8.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.2436, allocations: 191.4 kB / 419.2 MB, free: 8.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003201/0.244, allocations: 418.1 kB / 419.6 MB, free: 7.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000967/0.2449, allocations: 1.173 MB / 420.8 MB, free: 6.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.245, allocations: 0 / 420.8 MB, free: 6.668 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.245, allocations: 0 / 420.8 MB, free: 6.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.245, allocations: 0 / 420.8 MB, free: 6.668 MB / 334.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.00222/0.2472, allocations: 1.091 MB / 421.9 MB, free: 5.527 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2473, allocations: 8.031 kB / 421.9 MB, free: 5.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002358/0.2475, allocations: 88.08 kB / 422 MB, free: 5.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007026/0.2482, allocations: 0.5184 MB / 422.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.768e-05/0.2483, allocations: 75.56 kB / 422.6 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.2485, allocations: 76.34 kB / 422.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.2495, allocations: 0.602 MB / 423.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.2495, allocations: 0 / 423.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.516e-05/0.2496, allocations: 20 kB / 423.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.2496, allocations: 16 kB / 423.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.2507, allocations: 0.5282 MB / 423.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003068/0.2538, allocations: 2.295 MB / 426.1 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009187/0.2547, allocations: 483.1 kB / 426.6 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004982/0.2552, allocations: 270.1 kB / 426.8 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.2552, allocations: 4 kB / 426.8 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.2553, allocations: 38.56 kB / 426.9 MB, free: 328 kB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 1.973e-06/0.2553, allocations: 3.938 kB / 426.9 MB, free: 324 kB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.01284/0.2681, allocations: 3.542 MB / 430.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.2682, allocations: 85.67 kB / 430.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006596/0.2689, allocations: 0.5293 MB / 431 MB, free: 12.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.2689, allocations: 41.7 kB / 431.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.2691, allocations: 320.2 kB / 431.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.2693, allocations: 208.9 kB / 431.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.2695, allocations: 114.2 kB / 431.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2696, allocations: 366.7 kB / 432.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005343/0.2702, allocations: 245.2 kB / 432.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005844/0.2708, allocations: 348.4 kB / 432.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.2719, allocations: 0.602 MB / 433.2 MB, free: 9.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2719, allocations: 0 / 433.2 MB, free: 9.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001471/0.2734, allocations: 0.7449 MB / 434 MB, free: 8.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.2734, allocations: 8 kB / 434 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.2734, allocations: 320 / 434 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/0.2736, allocations: 44.7 kB / 434 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008191/0.2744, allocations: 167.8 kB / 434.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.2756, allocations: 1.43 MB / 435.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005578/0.2761, allocations: 43.97 kB / 435.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.796e-05/0.2762, allocations: 27.98 kB / 435.7 MB, free: 7.121 MB / 350.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.0002548/0.2765, allocations: 201.7 kB / 435.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.2766, allocations: 63.25 kB / 436 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/0.2784, allocations: 0.8375 MB / 436.8 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.2784, allocations: 0 / 436.8 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.2785, allocations: 3.938 kB / 436.8 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/0.2787, allocations: 216.3 kB / 437 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.243e-05/0.2788, allocations: 12 kB / 437 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005921/0.2794, allocations: 47.97 kB / 437.1 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.923e-05/0.2795, allocations: 40.48 kB / 437.1 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002835/0.2824, allocations: 1.069 MB / 438.2 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001997/0.2844, allocations: 1.264 MB / 439.4 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005635/0.285, allocations: 300.4 kB / 439.7 MB, free: 3.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004426/0.2854, allocations: 394.8 kB / 440.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of Backend: time 4.31e-07/0.2854, allocations: 0 / 440.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001579/0.287, allocations: 0.6174 MB / 440.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of SimCode: time 0.002095/0.2891, allocations: 1.838 MB / 442.6 MB, free: 104 kB / 350.1 MB Notification: Performance of Templates: time 0.01558/0.3047, allocations: 10.1 MB / 452.7 MB, free: 6.082 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1)