Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=10000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.00157/0.00157, allocations: 106.2 kB / 18.4 MB, free: 4.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 181.5 kB / 19.34 MB, free: 3.727 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.259/1.259, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.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.001295/0.001295, allocations: 55.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07093/0.07224, allocations: 46.62 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005098/0.07736, allocations: 4.299 MB / 380.1 MB, free: 248 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1458/0.2232, allocations: 1.63 MB / 381.8 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002614/0.2235, allocations: 10.41 kB / 381.8 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.2239, allocations: 125 kB / 381.9 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006645/0.2245, allocations: 369.3 kB / 382.3 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.2249, allocations: 232 kB / 382.5 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000705/0.2256, allocations: 0.9812 MB / 383.5 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003034/0.2259, allocations: 236.9 kB / 383.7 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004085/0.2263, allocations: 380.7 kB / 384.1 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004407/0.2268, allocations: 427.2 kB / 384.5 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.2269, allocations: 97.12 kB / 384.6 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003609/0.2273, allocations: 217.6 kB / 384.8 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.2274, allocations: 195.5 kB / 385 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003166/0.2277, allocations: 414.8 kB / 385.4 MB, free: 8.555 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.2288, allocations: 1.172 MB / 386.6 MB, free: 8.137 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2288, allocations: 1.281 kB / 386.6 MB, free: 8.137 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2288, allocations: 0 / 386.6 MB, free: 8.137 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.2288, allocations: 0 / 386.6 MB, free: 8.137 MB / 318.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.002107/0.2309, allocations: 1.114 MB / 387.7 MB, free: 7.387 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.231, allocations: 9.328 kB / 387.7 MB, free: 7.387 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.2311, allocations: 84.78 kB / 387.8 MB, free: 7.344 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006292/0.2318, allocations: 0.5181 MB / 388.3 MB, free: 6.945 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-05/0.2318, allocations: 69.28 kB / 388.3 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/0.232, allocations: 75.89 kB / 388.4 MB, free: 6.871 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.2331, allocations: 0.6002 MB / 389 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.2331, allocations: 0.9375 kB / 389 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.051e-05/0.2331, allocations: 20.88 kB / 389 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.2332, allocations: 13.72 kB / 389.1 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.2342, allocations: 0.5294 MB / 389.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002877/0.2371, allocations: 2.3 MB / 391.9 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000916/0.238, allocations: 475.7 kB / 392.4 MB, free: 4.699 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000494/0.2386, allocations: 268.3 kB / 392.6 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.2386, allocations: 10.3 kB / 392.6 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.2386, allocations: 45.86 kB / 392.7 MB, free: 4.531 MB / 318.1 MB Notification: Performance of pre-optimization done (n=45): time 1.884e-06/0.2386, allocations: 1.406 kB / 392.7 MB, free: 4.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.01256/0.2512, allocations: 3.558 MB / 396.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.062e-05/0.2512, allocations: 87.64 kB / 396.3 MB, free: 2.973 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006462/0.2519, allocations: 0.5397 MB / 396.9 MB, free: 2.707 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/0.2519, allocations: 33.7 kB / 396.9 MB, free: 2.668 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.2521, allocations: 319.8 kB / 397.2 MB, free: 2.414 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.2522, allocations: 217.8 kB / 397.4 MB, free: 2.246 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.2524, allocations: 111.8 kB / 397.5 MB, free: 2.188 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.541e-05/0.2525, allocations: 367.1 kB / 397.9 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005424/0.253, allocations: 251.6 kB / 398.1 MB, free: 1.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005437/0.2536, allocations: 345.3 kB / 398.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.2546, allocations: 0.6042 MB / 399.1 MB, free: 1.211 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2546, allocations: 5.375 kB / 399.1 MB, free: 1.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00139/0.256, allocations: 0.7418 MB / 399.8 MB, free: 0.875 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.2561, allocations: 7.703 kB / 399.8 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.2561, allocations: 2.219 kB / 399.8 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001372/0.2562, allocations: 30.41 kB / 399.9 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000799/0.257, allocations: 174.4 kB / 400 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008241/0.2579, allocations: 1.424 MB / 401.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005551/0.2584, allocations: 44.2 kB / 401.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/0.2585, allocations: 24.55 kB / 401.5 MB, free: 15.39 MB / 334.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.0002505/0.2588, allocations: 205.2 kB / 401.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.2589, allocations: 60.59 kB / 401.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.2609, allocations: 0.8501 MB / 402.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.2609, allocations: 4.5 kB / 402.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.261, allocations: 7.938 kB / 402.6 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002852/0.2612, allocations: 207.5 kB / 402.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-05/0.2614, allocations: 12.09 kB / 402.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000602/0.262, allocations: 39.17 kB / 402.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.2621, allocations: 42.33 kB / 402.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002913/0.265, allocations: 1.081 MB / 404 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001996/0.267, allocations: 1.259 MB / 405.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005844/0.2676, allocations: 314.5 kB / 405.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004446/0.2681, allocations: 387.5 kB / 406 MB, free: 12.81 MB / 334.1 MB Notification: Performance of Backend: time 5.51e-07/0.2681, allocations: 0 / 406 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001479/0.2696, allocations: 0.6077 MB / 406.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of SimCode: time 0.002038/0.2716, allocations: 1.873 MB / 408.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of Templates: time 0.01673/0.2884, allocations: 10.07 MB / 418.5 MB, free: 3.535 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1)