Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001116/0.001117, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001188/0.001188, allocations: 196.5 kB / 16.14 MB, free: 6.707 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.383/1.383, allocations: 205.1 MB / 222 MB, free: 4.766 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.001143/0.001143, allocations: 52.36 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2217, allocations: 46.63 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005301/0.2271, allocations: 4.33 MB / 329 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002554/0.2297, allocations: 1.638 MB / 330.7 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002901/0.23, allocations: 11.59 kB / 330.7 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.2304, allocations: 102.4 kB / 330.8 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000707/0.2311, allocations: 305.4 kB / 331.1 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.2315, allocations: 203.5 kB / 331.3 MB, free: 12.64 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008004/0.2323, allocations: 0.9158 MB / 332.2 MB, free: 12.1 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003321/0.2326, allocations: 198.6 kB / 332.4 MB, free: 12 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004363/0.2331, allocations: 326.1 kB / 332.7 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004343/0.2335, allocations: 395.7 kB / 333.1 MB, free: 11.54 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.2336, allocations: 49.19 kB / 333.1 MB, free: 11.54 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003559/0.234, allocations: 166.4 kB / 333.3 MB, free: 11.49 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.2341, allocations: 145.6 kB / 333.4 MB, free: 11.36 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003406/0.2345, allocations: 375.6 kB / 333.8 MB, free: 11 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000969/0.2354, allocations: 1.121 MB / 334.9 MB, free: 9.879 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2355, allocations: 0 / 334.9 MB, free: 9.879 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2355, allocations: 0 / 334.9 MB, free: 9.879 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.2355, allocations: 0 / 334.9 MB, free: 9.879 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.002412/0.2379, allocations: 1.091 MB / 336 MB, free: 8.734 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.2379, allocations: 8.031 kB / 336 MB, free: 8.727 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.2381, allocations: 80.09 kB / 336.1 MB, free: 8.648 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000665/0.2388, allocations: 0.5106 MB / 336.6 MB, free: 8.098 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/0.2389, allocations: 79.52 kB / 336.7 MB, free: 8.016 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.2391, allocations: 72.48 kB / 336.8 MB, free: 7.945 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.2402, allocations: 0.6019 MB / 337.4 MB, free: 7.324 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.2402, allocations: 0 / 337.4 MB, free: 7.324 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.443e-05/0.2402, allocations: 20 kB / 337.4 MB, free: 7.305 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.2403, allocations: 20 kB / 337.4 MB, free: 7.285 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.2413, allocations: 0.5243 MB / 337.9 MB, free: 6.758 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003238/0.2446, allocations: 2.314 MB / 340.2 MB, free: 4.332 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009581/0.2456, allocations: 477.1 kB / 340.7 MB, free: 3.848 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005229/0.2461, allocations: 262.1 kB / 341 MB, free: 3.586 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.2461, allocations: 8.219 kB / 341 MB, free: 3.578 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.2462, allocations: 42.56 kB / 341 MB, free: 3.527 MB / 270.1 MB Notification: Performance of pre-optimization done (n=45): time 1.533e-06/0.2462, allocations: 0 / 341 MB, free: 3.527 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.01321/0.2594, allocations: 3.538 MB / 344.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.2595, allocations: 89.67 kB / 344.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007058/0.2602, allocations: 0.5331 MB / 345.2 MB, free: 15.24 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/0.2603, allocations: 41.7 kB / 345.2 MB, free: 15.2 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.2605, allocations: 308.3 kB / 345.5 MB, free: 14.89 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.2607, allocations: 216.9 kB / 345.7 MB, free: 14.67 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.2608, allocations: 114.2 kB / 345.8 MB, free: 14.55 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.261, allocations: 362.8 kB / 346.2 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/0.2615, allocations: 253.2 kB / 346.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005938/0.2622, allocations: 352.4 kB / 346.8 MB, free: 13.57 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.2633, allocations: 0.5942 MB / 347.4 MB, free: 12.94 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2633, allocations: 4 kB / 347.4 MB, free: 12.94 MB / 286.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001577/0.2649, allocations: 0.749 MB / 348.1 MB, free: 12.18 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.2649, allocations: 4 kB / 348.1 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.265, allocations: 4 kB / 348.1 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001849/0.2651, allocations: 28.84 kB / 348.2 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008085/0.266, allocations: 163.8 kB / 348.3 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.2671, allocations: 1.329 MB / 349.6 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006655/0.2677, allocations: 47.94 kB / 349.7 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.162e-05/0.2678, allocations: 24 kB / 349.7 MB, free: 10.45 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.0003542/0.2682, allocations: 201.6 kB / 349.9 MB, free: 10.24 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.2683, allocations: 55.34 kB / 350 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/0.2701, allocations: 0.8451 MB / 350.8 MB, free: 9.324 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.2702, allocations: 8 kB / 350.8 MB, free: 9.316 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.2702, allocations: 144 / 350.8 MB, free: 9.316 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.2702, allocations: 7.969 kB / 350.8 MB, free: 9.309 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003712/0.2739, allocations: 1.847 MB / 352.7 MB, free: 7.402 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.2739, allocations: 0 / 352.7 MB, free: 7.402 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005264/0.2744, allocations: 119.8 kB / 352.8 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00233/0.2768, allocations: 472.2 kB / 353.3 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/0.2769, allocations: 19.98 kB / 353.3 MB, free: 6.801 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004625/0.2815, allocations: 2.882 MB / 356.2 MB, free: 3.789 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.2815, allocations: 7.922 kB / 356.2 MB, free: 3.781 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003043/0.2846, allocations: 1.366 MB / 357.5 MB, free: 2.391 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003148/0.2849, allocations: 212.2 kB / 357.7 MB, free: 2.164 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-05/0.285, allocations: 12 kB / 357.7 MB, free: 2.152 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006182/0.2856, allocations: 43.97 kB / 357.8 MB, free: 2.109 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.2858, allocations: 48.48 kB / 357.8 MB, free: 2.062 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.395e-05/0.2858, allocations: 19.94 kB / 357.9 MB, free: 2.043 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004853/0.2863, allocations: 390.9 kB / 358.2 MB, free: 1.664 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2863, allocations: 3.938 kB / 358.2 MB, free: 1.66 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000754/0.2871, allocations: 180 kB / 358.4 MB, free: 1.484 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.0002998/0.2874, allocations: 151.1 kB / 358.6 MB, free: 1.328 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.2889, allocations: 0.7405 MB / 359.3 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2889, allocations: 0 / 359.3 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008969/0.2898, allocations: 0.5095 MB / 359.8 MB, free: 56 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008285/0.2907, allocations: 90.3 kB / 359.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.2936, allocations: 1.744 MB / 361.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.294, allocations: 0.9007 MB / 362.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003437/0.2944, allocations: 68.81 kB / 362.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.2946, allocations: 51.41 kB / 362.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2946, allocations: 0 / 362.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of Templates: time 0.01574/0.3103, allocations: 9.673 MB / 372.3 MB, free: 3.461 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1)