Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.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.001296/0.001296, allocations: 108.6 kB / 21.22 MB, free: 0.7422 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.001335/0.001335, allocations: 187.7 kB / 24.5 MB, free: 4.152 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.371/1.371, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.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.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 43.92 kB / 371.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2511, allocations: 52.19 MB / 423.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01175/0.2629, allocations: 10.62 MB / 434.1 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.2741, allocations: 6.332 MB / 440.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001971/0.2761, allocations: 47.69 kB / 440.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001566/0.2776, allocations: 495.8 kB / 440.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002736/0.2804, allocations: 0.931 MB / 441.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0055/0.2859, allocations: 2.501 MB / 444.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005123/0.291, allocations: 3.481 MB / 447.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.2922, allocations: 0.5189 MB / 448.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00258/0.2948, allocations: 1.312 MB / 449.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002728/0.2975, allocations: 1.479 MB / 451.1 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008434/0.2983, allocations: 331.9 kB / 451.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.2997, allocations: 0.6088 MB / 452.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006748/0.3004, allocations: 0.7399 MB / 452.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001487/0.3018, allocations: 1.4 MB / 454.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005604/0.3074, allocations: 3.95 MB / 458.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.3075, allocations: 0 / 458.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3075, allocations: 0 / 458.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001182/0.3076, allocations: 4 kB / 458.2 MB, free: 11.75 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.007949/0.3155, allocations: 3.071 MB / 461.2 MB, free: 8.633 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.3156, allocations: 12.03 kB / 461.3 MB, free: 8.621 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.997e-05/0.3156, allocations: 52.02 kB / 461.3 MB, free: 8.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003355/0.316, allocations: 278.6 kB / 461.6 MB, free: 8.289 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000509/0.3165, allocations: 291.2 kB / 461.9 MB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/0.3188, allocations: 1.314 MB / 463.2 MB, free: 6.652 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003218/0.3191, allocations: 403.5 kB / 463.6 MB, free: 6.203 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005324/0.3197, allocations: 235.8 kB / 463.8 MB, free: 5.973 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00383/0.3235, allocations: 2.173 MB / 466 MB, free: 3.719 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.875e-05/0.3235, allocations: 0 / 466 MB, free: 3.719 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001752/0.3237, allocations: 80 kB / 466.1 MB, free: 3.641 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.142e-05/0.3237, allocations: 51.94 kB / 466.1 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00388/0.3276, allocations: 1.916 MB / 468 MB, free: 1.672 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01233/0.3399, allocations: 7.682 MB / 475.7 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003638/0.3436, allocations: 1.983 MB / 477.7 MB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003/0.3466, allocations: 1.476 MB / 479.2 MB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.3467, allocations: 33.98 kB / 479.2 MB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.995e-05/0.3467, allocations: 64.5 kB / 479.3 MB, free: 6.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 4.618e-06/0.3468, allocations: 0 / 479.3 MB, free: 6.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05/0.3968, allocations: 13.68 MB / 492.9 MB, free: 8.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002761/0.397, allocations: 397.8 kB / 493.3 MB, free: 7.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002384/0.3994, allocations: 1.514 MB / 494.8 MB, free: 6.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002949/0.3997, allocations: 69.7 kB / 494.9 MB, free: 6.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006816/0.4004, allocations: 0.8369 MB / 495.7 MB, free: 5.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000793/0.4012, allocations: 0.8791 MB / 496.6 MB, free: 4.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007301/0.4019, allocations: 416.6 kB / 497 MB, free: 4.191 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.402, allocations: 305.1 kB / 497.3 MB, free: 3.891 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002163/0.4042, allocations: 0.9963 MB / 498.3 MB, free: 2.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002415/0.4066, allocations: 1.26 MB / 499.6 MB, free: 1.562 MB / 398.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.03251/0.4391, allocations: 9.271 MB / 0.4969 GB, free: 8.199 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.4391, allocations: 8 kB / 0.4969 GB, free: 8.191 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006072/0.4452, allocations: 2.933 MB / 0.4998 GB, free: 5.195 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.4452, allocations: 8 kB / 0.4998 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/0.4453, allocations: 8.078 kB / 0.4998 GB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009649/0.4462, allocations: 352.9 kB / 0.5001 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/0.4488, allocations: 0.5539 MB / 0.5007 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009523/0.4583, allocations: 10.33 MB / 0.5108 GB, free: 9.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/0.4605, allocations: 119.9 kB / 0.5109 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001944/0.4607, allocations: 84.02 kB / 0.511 GB, free: 9.055 MB / 430.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: transformer.winding13.i = transformer.I1Start[3] transformer.H[2] = transformer.HStart[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 9 (diode6.off,diode5.off,diode4.off,diode3.off,diode2.off,diode1.off,transformer.core3.asc,transformer.core2.asc,transformer.core1.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (259): * Single equations (assignments): 247 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,6), (2,6), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0009889/0.4616, allocations: 480.5 kB / 0.5114 GB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004263/0.4621, allocations: 214.7 kB / 0.5116 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008462/0.4705, allocations: 3.43 MB / 0.515 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.96e-05/0.4706, allocations: 31.98 kB / 0.515 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.4706, allocations: 4 kB / 0.515 GB, free: 4.812 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.929e-05/0.4706, allocations: 15.95 kB / 0.515 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01395/0.4846, allocations: 6.214 MB / 0.5211 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.4846, allocations: 4 kB / 0.5211 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002097/0.4867, allocations: 427.4 kB / 0.5215 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005358/0.492, allocations: 1.194 MB / 0.5227 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003008/0.4923, allocations: 63.97 kB / 0.5227 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02219/0.5145, allocations: 17.97 MB / 0.5403 GB, free: 9.754 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5145, allocations: 4.031 kB / 0.5403 GB, free: 9.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/0.5255, allocations: 4.906 MB / 0.5451 GB, free: 4.723 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/0.5268, allocations: 474.2 kB / 0.5455 GB, free: 4.258 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003114/0.5271, allocations: 59.94 kB / 0.5456 GB, free: 4.199 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00174/0.5289, allocations: 131.9 kB / 0.5457 GB, free: 4.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005243/0.5294, allocations: 221.6 kB / 0.5459 GB, free: 3.852 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/0.5295, allocations: 68.05 kB / 0.546 GB, free: 3.785 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001442/0.531, allocations: 1.041 MB / 0.547 GB, free: 2.746 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.531, allocations: 0 / 0.547 GB, free: 2.746 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002543/0.5335, allocations: 0.699 MB / 0.5477 GB, free: 2.047 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (transformer.core1.Hstat,transformer.core1.B,transformer.core2.Hstat,transformer.core2.B,transformer.core3.Hstat,transformer.core3.B,transformer.winding11.i,transformer.winding12.i,transformer.winding13.i,transformer.winding21.i,transformer.winding22.i,transformer.winding23.i,capacitor1.v,capacitor2.v,pdissStatAvg.x[1],pdissStatAvg.x[2],pdissEddyAvg.x[1],pdissEddyAvg.x[2],pdissCopAvg.x[1],pdissCopAvg.x[2],transformer.core3.MagRel,transformer.core2.MagRel,transformer.core1.MagRel) * Number of discrete variables: 9 (transformer.core1.asc,transformer.core2.asc,transformer.core3.asc,diode1.off,diode2.off,diode3.off,diode4.off,diode5.off,diode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,8), (1,8), (1,8), (2,6), (2,6), (2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.1972/0.7307, allocations: 5.614 MB / 0.5532 GB, free: 120.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005919/0.7366, allocations: 3.237 MB / 0.5563 GB, free: 119.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/0.7366, allocations: 6.188 kB / 0.5563 GB, free: 119.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003334/0.74, allocations: 2.513 MB / 0.5588 GB, free: 118.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.7422, allocations: 382.7 kB / 0.5592 GB, free: 117.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02771/0.7699, allocations: 19.55 MB / 0.5782 GB, free: 104.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008112/0.7707, allocations: 1.561 MB / 0.5798 GB, free: 102.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001081/0.7718, allocations: 287.8 kB / 0.58 GB, free: 102.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009887/0.7728, allocations: 0.9132 MB / 0.5809 GB, free: 101.6 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.7728, allocations: 4 kB / 0.5809 GB, free: 101.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1063/0.879, allocations: 60.34 MB / 0.6399 GB, free: 41.74 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.98/17.86, allocations: 14.48 kB / 0.6399 GB, free: 41.73 MB / 462.1 MB " [Timeout remaining time 642] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.657358594005927] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v'] 18.062084252014756 18.072665661 17.762722616 Calling exit ...