Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 110 kB / 18.49 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 198.6 kB / 21.43 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 249.8 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 47.94 kB / 366.3 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1064, allocations: 52.14 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005925/0.1123, allocations: 3.417 MB / 421.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002942/0.1153, allocations: 1.465 MB / 423.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004658/0.1157, allocations: 4 kB / 423.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003726/0.1195, allocations: 2.659 MB / 426 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006762/0.1201, allocations: 178.7 kB / 426.2 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009047/0.121, allocations: 302.8 kB / 426.5 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002445/0.1235, allocations: 1.802 MB / 428.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.1237, allocations: 91.3 kB / 428.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004826/0.1242, allocations: 321 kB / 428.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005115/0.1247, allocations: 350.7 kB / 429 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.1248, allocations: 44 kB / 429.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002409/0.1251, allocations: 91.97 kB / 429.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007014/0.1258, allocations: 0.8413 MB / 430 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009811/0.1268, allocations: 0.9346 MB / 431 MB, free: 100 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002685/0.1295, allocations: 2.634 MB / 433.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1295, allocations: 0 / 433.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1295, allocations: 0 / 433.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.687e-05/0.1295, allocations: 0 / 433.6 MB, free: 13.45 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004003/0.1335, allocations: 2.903 MB / 436.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1335, allocations: 15.89 kB / 436.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.902e-05/0.1336, allocations: 9.188 kB / 436.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.931e-05/0.1336, allocations: 74.72 kB / 436.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003401/0.134, allocations: 295 kB / 436.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002448/0.1364, allocations: 1.85 MB / 438.7 MB, free: 8.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.1e-05/0.1365, allocations: 58.83 kB / 438.8 MB, free: 8.117 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.1367, allocations: 47.98 kB / 438.8 MB, free: 8.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007648/0.1375, allocations: 399 kB / 439.2 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.1375, allocations: 0 / 439.2 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.1375, allocations: 15.94 kB / 439.2 MB, free: 7.648 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.1375, allocations: 12 kB / 439.2 MB, free: 7.637 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007171/0.1382, allocations: 331.7 kB / 439.6 MB, free: 7.312 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004006/0.1422, allocations: 2.899 MB / 442.5 MB, free: 4.312 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/0.1429, allocations: 305 kB / 442.8 MB, free: 3.996 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003273/0.1432, allocations: 156.3 kB / 442.9 MB, free: 3.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/0.1433, allocations: 11.92 kB / 442.9 MB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.1433, allocations: 50.36 kB / 443 MB, free: 3.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.743e-06/0.1433, allocations: 0 / 443 MB, free: 3.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.005102/0.1484, allocations: 2.452 MB / 445.4 MB, free: 1.254 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.1485, allocations: 89.53 kB / 445.5 MB, free: 1.148 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1996/0.348, allocations: 5.422 MB / 450.9 MB, free: 28.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001251/0.3482, allocations: 34.8 kB / 451 MB, free: 28.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001168/0.3493, allocations: 1.211 MB / 452.2 MB, free: 27.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.3495, allocations: 174.3 kB / 452.4 MB, free: 27.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.3497, allocations: 85.64 kB / 452.4 MB, free: 27.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3498, allocations: 329.7 kB / 452.8 MB, free: 27.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004897/0.3503, allocations: 139.2 kB / 452.9 MB, free: 27.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004569/0.3508, allocations: 225.2 kB / 453.1 MB, free: 27.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007355/0.3515, allocations: 378.4 kB / 453.5 MB, free: 27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.3515, allocations: 1.562 kB / 453.5 MB, free: 27 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001721/0.3532, allocations: 0.6997 MB / 454.2 MB, free: 26.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.3533, allocations: 7.156 kB / 454.2 MB, free: 26.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.3533, allocations: 2.25 kB / 454.2 MB, free: 26.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.3533, allocations: 7.312 kB / 454.2 MB, free: 26.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/0.3538, allocations: 123.1 kB / 454.3 MB, free: 26.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.3538, allocations: 4.703 kB / 454.3 MB, free: 26.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005797/0.3544, allocations: 16.02 kB / 454.3 MB, free: 26.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.3544, allocations: 19.42 kB / 454.4 MB, free: 26.81 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001374/0.3558, allocations: 0.9173 MB / 455.3 MB, free: 26.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004599/0.3563, allocations: 283.8 kB / 455.6 MB, free: 26.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.3579, allocations: 0.7916 MB / 456.4 MB, free: 26.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.3579, allocations: 7.406 kB / 456.4 MB, free: 26.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.3579, allocations: 4.969 kB / 456.4 MB, free: 26.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.3579, allocations: 8.672 kB / 456.4 MB, free: 26.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.3599, allocations: 1.468 MB / 457.8 MB, free: 25.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3599, allocations: 0 / 457.8 MB, free: 25.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004472/0.3603, allocations: 95.03 kB / 457.9 MB, free: 25.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003941/0.3607, allocations: 90.91 kB / 458 MB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/0.3608, allocations: 15.7 kB / 458 MB, free: 25.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004471/0.3612, allocations: 0.6386 MB / 458.7 MB, free: 24.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3612, allocations: 4.219 kB / 458.7 MB, free: 24.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.363, allocations: 1.086 MB / 459.8 MB, free: 24.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000686/0.3636, allocations: 0.4946 MB / 460.3 MB, free: 23.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.3638, allocations: 19.38 kB / 460.3 MB, free: 23.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004671/0.3643, allocations: 19.89 kB / 460.3 MB, free: 23.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.574e-05/0.3644, allocations: 31.61 kB / 460.3 MB, free: 23.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.3644, allocations: 16.3 kB / 460.3 MB, free: 23.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004577/0.369, allocations: 3.969 MB / 464.3 MB, free: 22.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.369, allocations: 0 / 464.3 MB, free: 22.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007818/0.3698, allocations: 207.8 kB / 464.5 MB, free: 22.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003164/0.3729, allocations: 1.943 MB / 466.5 MB, free: 21.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008207/0.3737, allocations: 359.3 kB / 466.8 MB, free: 21.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3737, allocations: 2.406 kB / 466.8 MB, free: 21.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004394/0.3742, allocations: 198.7 kB / 467 MB, free: 21.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009807/0.3752, allocations: 191.6 kB / 467.2 MB, free: 21.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03174/0.4069, allocations: 19.36 MB / 486.6 MB, free: 7.672 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/0.408, allocations: 1.817 MB / 488.4 MB, free: 5.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005247/0.4085, allocations: 273.3 kB / 488.6 MB, free: 5.551 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007887/0.4093, allocations: 0.9328 MB / 489.6 MB, free: 4.621 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4093, allocations: 0 / 489.6 MB, free: 4.621 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07738/0.4867, allocations: 38.84 MB / 0.516 GB, free: 14.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.8/17.29, allocations: 11.91 kB / 0.516 GB, free: 14.1 MB / 414.1 MB " [Timeout remaining time 642] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_fmu --startTime=0 --stopTime=0.02 --stepSize=4e-06 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.801884789951146] Failed to read output from testmodel.py, exit status != 0: ['time', 'core.B', 'core.Hstat', 'core.MagRel', 'winding1.i', 'winding2.i'] 17.510460159974173 17.531590995 17.397892546 Calling exit ...