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.001109/0.001109, allocations: 114.3 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001235/0.001235, allocations: 210.8 kB / 19.42 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.332/1.332, allocations: 227.4 MB / 247.6 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.91 kB / 359.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2282, allocations: 50.53 MB / 409.9 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005061/0.2333, allocations: 4.392 MB / 414.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002497/0.2358, allocations: 1.64 MB / 416 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002592/0.2361, allocations: 8 kB / 416 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.2364, allocations: 126.8 kB / 416.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007105/0.2372, allocations: 365.6 kB / 416.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.2376, allocations: 243.6 kB / 416.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008181/0.2384, allocations: 0.9823 MB / 417.7 MB, free: 9.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003186/0.2387, allocations: 245.4 kB / 417.9 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004129/0.2391, allocations: 382.7 kB / 418.3 MB, free: 9.266 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004535/0.2396, allocations: 426.3 kB / 418.7 MB, free: 8.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.2397, allocations: 96 kB / 418.8 MB, free: 8.754 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003613/0.2401, allocations: 219.9 kB / 419 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.2403, allocations: 203.3 kB / 419.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.2406, allocations: 414.1 kB / 419.6 MB, free: 7.934 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.2417, allocations: 1.175 MB / 420.8 MB, free: 6.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2417, allocations: 0 / 420.8 MB, free: 6.758 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2417, allocations: 0 / 420.8 MB, free: 6.758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.2417, allocations: 0 / 420.8 MB, free: 6.758 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.002286/0.244, allocations: 1.121 MB / 421.9 MB, free: 5.586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.2441, allocations: 8.031 kB / 421.9 MB, free: 5.578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002402/0.2443, allocations: 92.45 kB / 422 MB, free: 5.488 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007216/0.245, allocations: 0.5188 MB / 422.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.731e-05/0.2451, allocations: 71.58 kB / 422.6 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.2453, allocations: 72.48 kB / 422.7 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.2464, allocations: 0.6058 MB / 423.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.2464, allocations: 0 / 423.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-05/0.2465, allocations: 24 kB / 423.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.2465, allocations: 12 kB / 423.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.2476, allocations: 0.5282 MB / 423.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003268/0.2509, allocations: 2.299 MB / 426.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009701/0.2519, allocations: 483.5 kB / 426.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005134/0.2524, allocations: 266 kB / 426.9 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.2525, allocations: 8 kB / 426.9 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.2525, allocations: 38.56 kB / 426.9 MB, free: 384 kB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 2.023e-06/0.2525, allocations: 0 / 426.9 MB, free: 384 kB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.01319/0.2657, allocations: 3.57 MB / 430.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.2658, allocations: 85.67 kB / 430.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006959/0.2665, allocations: 0.5332 MB / 431.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.04e-05/0.2665, allocations: 41.7 kB / 431.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.2667, allocations: 320.9 kB / 431.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.2669, allocations: 218.1 kB / 431.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.2671, allocations: 110.3 kB / 431.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.2672, allocations: 362.8 kB / 432.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005516/0.2678, allocations: 249.2 kB / 432.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006005/0.2684, allocations: 352.4 kB / 432.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.2696, allocations: 0.602 MB / 433.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2696, allocations: 3.938 kB / 433.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001513/0.2711, allocations: 0.7452 MB / 434.1 MB, free: 9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.2711, allocations: 8 kB / 434.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2711, allocations: 0 / 434.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001731/0.2713, allocations: 37.16 kB / 434.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008261/0.2722, allocations: 163.8 kB / 434.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.2732, allocations: 1.434 MB / 435.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000592/0.2738, allocations: 43.91 kB / 435.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.772e-05/0.2739, allocations: 28.05 kB / 435.8 MB, free: 7.145 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.0002827/0.2742, allocations: 197.7 kB / 436 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.2743, allocations: 67.58 kB / 436 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/0.2762, allocations: 0.8375 MB / 436.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.2762, allocations: 0 / 436.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.2762, allocations: 7.938 kB / 436.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.2764, allocations: 212.5 kB / 437.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.959e-05/0.2765, allocations: 15.98 kB / 437.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005978/0.2772, allocations: 43.97 kB / 437.1 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.2773, allocations: 44.44 kB / 437.2 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00288/0.2802, allocations: 1.061 MB / 438.2 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002036/0.2822, allocations: 1.268 MB / 439.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005899/0.2828, allocations: 308.3 kB / 439.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004908/0.2833, allocations: 398.8 kB / 440.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of Backend: time 7.91e-07/0.2833, allocations: 0 / 440.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001653/0.285, allocations: 0.6178 MB / 440.8 MB, free: 2 MB / 350.1 MB Notification: Performance of SimCode: time 0.002407/0.2874, allocations: 1.871 MB / 442.7 MB, free: 84 kB / 350.1 MB Notification: Performance of Templates: time 0.0166/0.304, allocations: 10.11 MB / 452.8 MB, free: 6.059 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)