Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001421/0.001421, allocations: 110.5 kB / 19.74 MB, free: 2.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001523/0.001523, allocations: 218.7 kB / 22.92 MB, free: 5.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.284/1.284, allocations: 230.5 MB / 256.4 MB, free: 8.289 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 71.83 kB / 376.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2133, allocations: 53.31 MB / 429.4 MB, free: 7.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004595/0.2179, allocations: 3.488 MB / 432.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00245/0.2203, allocations: 1.668 MB / 434.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.2205, allocations: 8 kB / 434.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002876/0.2234, allocations: 2.671 MB / 437.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000475/0.2239, allocations: 218.6 kB / 437.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007022/0.2246, allocations: 329.5 kB / 437.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001712/0.2263, allocations: 1.813 MB / 439.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.2264, allocations: 99.97 kB / 439.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003737/0.2268, allocations: 317 kB / 440 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004193/0.2272, allocations: 358.7 kB / 440.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.108e-05/0.2273, allocations: 44 kB / 440.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.2275, allocations: 91.98 kB / 440.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006319/0.2282, allocations: 0.8608 MB / 441.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007086/0.2289, allocations: 0.9384 MB / 442.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002263/0.2311, allocations: 2.653 MB / 444.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2311, allocations: 0 / 444.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2311, allocations: 0 / 444.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.2312, allocations: 0 / 444.9 MB, free: 7.895 MB / 350.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.003629/0.2348, allocations: 2.911 MB / 447.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.2348, allocations: 12.03 kB / 447.8 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.688e-05/0.2349, allocations: 78.66 kB / 447.9 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004225/0.2353, allocations: 306.9 kB / 448.2 MB, free: 4.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002377/0.2377, allocations: 1.866 MB / 450.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-05/0.2378, allocations: 63.02 kB / 450.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.238, allocations: 47.97 kB / 450.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006942/0.2386, allocations: 387 kB / 450.6 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.2387, allocations: 4 kB / 450.6 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.2387, allocations: 16 kB / 450.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.2387, allocations: 15.92 kB / 450.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006928/0.2394, allocations: 331.8 kB / 450.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003703/0.2431, allocations: 2.896 MB / 453.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006097/0.2437, allocations: 305.9 kB / 454.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.244, allocations: 153.7 kB / 454.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.2441, allocations: 7.984 kB / 454.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.2441, allocations: 51.02 kB / 454.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.553e-06/0.2441, allocations: 4 kB / 454.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.004612/0.2487, allocations: 2.471 MB / 456.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.2488, allocations: 81.55 kB / 456.9 MB, free: 11.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005978/0.2547, allocations: 5.455 MB / 462.3 MB, free: 6.102 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.2548, allocations: 37.7 kB / 462.4 MB, free: 6.059 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001097/0.2559, allocations: 1.184 MB / 463.6 MB, free: 4.871 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.256, allocations: 174.5 kB / 463.7 MB, free: 4.699 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.2562, allocations: 90.23 kB / 463.8 MB, free: 4.602 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2563, allocations: 330 kB / 464.1 MB, free: 4.273 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.2566, allocations: 133.1 kB / 464.3 MB, free: 4.145 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/0.257, allocations: 225.6 kB / 464.5 MB, free: 3.902 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006825/0.2576, allocations: 392.2 kB / 464.9 MB, free: 3.492 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2577, allocations: 0 / 464.9 MB, free: 3.492 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001112/0.2588, allocations: 0.6974 MB / 465.6 MB, free: 2.789 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2588, allocations: 6.812 kB / 465.6 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.2588, allocations: 4 kB / 465.6 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.2588, allocations: 4 kB / 465.6 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004876/0.2593, allocations: 127.8 kB / 465.7 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.2593, allocations: 11.88 kB / 465.7 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00037/0.2597, allocations: 12 kB / 465.7 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.2597, allocations: 19.98 kB / 465.8 MB, free: 2.609 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.0009675/0.2607, allocations: 0.9309 MB / 466.7 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/0.261, allocations: 286 kB / 467 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.2623, allocations: 0.7865 MB / 467.8 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.2624, allocations: 8 kB / 467.8 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2624, allocations: 4 kB / 467.8 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.2624, allocations: 3.984 kB / 467.8 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.264, allocations: 1.485 MB / 469.3 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.264, allocations: 0 / 469.3 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.2645, allocations: 87.89 kB / 469.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003434/0.2648, allocations: 96.75 kB / 469.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.2648, allocations: 16 kB / 469.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005693/0.2654, allocations: 0.6383 MB / 470.1 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2654, allocations: 0 / 470.1 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.2671, allocations: 1.09 MB / 471.2 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006511/0.2677, allocations: 0.4991 MB / 471.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.2679, allocations: 8 kB / 471.7 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004416/0.2683, allocations: 19.98 kB / 471.7 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/0.2684, allocations: 36.34 kB / 471.7 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.2684, allocations: 15.98 kB / 471.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004432/0.2728, allocations: 3.986 MB / 475.7 MB, free: 8.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2728, allocations: 0 / 475.7 MB, free: 8.484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006548/0.2735, allocations: 208 kB / 476 MB, free: 8.281 MB / 382.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.003279/0.2768, allocations: 1.936 MB / 477.9 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008038/0.2776, allocations: 360.9 kB / 478.2 MB, free: 6.117 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2776, allocations: 3.938 kB / 478.2 MB, free: 6.113 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000441/0.278, allocations: 206.4 kB / 478.4 MB, free: 5.914 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.279, allocations: 195.1 kB / 478.6 MB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03485/0.3139, allocations: 19.41 MB / 498 MB, free: 2.129 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001724/0.3156, allocations: 1.825 MB / 499.9 MB, free: 276 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005747/0.3162, allocations: 271.8 kB / 0.4884 GB, free: 4 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/0.3173, allocations: 0.9367 MB / 0.4893 GB, free: 15.06 MB / 414.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3173, allocations: 4 kB / 0.4893 GB, free: 15.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07705/0.3944, allocations: 38.97 MB / 0.5274 GB, free: 8.281 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/15.46, allocations: 10.66 kB / 0.5274 GB, free: 8.277 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_fmu --startTime=0 --stopTime=0.02 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.81517645999702]