Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.385/1.385, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 47.92 kB / 378.6 MB, free: 3.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2677, allocations: 53.36 MB / 431.9 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01248/0.2802, allocations: 10.67 MB / 442.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01269/0.2929, allocations: 6.43 MB / 449 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002189/0.2951, allocations: 51.62 kB / 449.1 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.2965, allocations: 491.9 kB / 449.6 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002878/0.2994, allocations: 0.931 MB / 450.5 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005874/0.3052, allocations: 2.532 MB / 453 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005135/0.3104, allocations: 3.485 MB / 456.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.3114, allocations: 0.5228 MB / 457 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002122/0.3135, allocations: 1.312 MB / 458.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001996/0.3155, allocations: 1.486 MB / 459.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004588/0.316, allocations: 328 kB / 460.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.3172, allocations: 0.6049 MB / 460.8 MB, free: 9.887 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007064/0.3179, allocations: 0.7438 MB / 461.5 MB, free: 9.141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0014/0.3193, allocations: 1.404 MB / 462.9 MB, free: 7.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004235/0.3235, allocations: 3.958 MB / 466.9 MB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3235, allocations: 0 / 466.9 MB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3235, allocations: 8 kB / 466.9 MB, free: 3.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.715e-05/0.3236, allocations: 0 / 466.9 MB, free: 3.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.007368/0.3309, allocations: 3.083 MB / 470 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.331, allocations: 15.95 kB / 470 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.163e-05/0.3311, allocations: 52.02 kB / 470 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003458/0.3314, allocations: 274.6 kB / 470.3 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007561/0.3322, allocations: 317.8 kB / 470.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002329/0.3345, allocations: 1.326 MB / 471.9 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003116/0.3348, allocations: 404.8 kB / 472.3 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000536/0.3353, allocations: 243.8 kB / 472.6 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003767/0.3391, allocations: 2.165 MB / 474.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.233e-05/0.3392, allocations: 3.984 kB / 474.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/0.3393, allocations: 84 kB / 474.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-05/0.3394, allocations: 48 kB / 474.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003951/0.3433, allocations: 1.912 MB / 476.8 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01183/0.3552, allocations: 7.694 MB / 484.5 MB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003496/0.3587, allocations: 1.979 MB / 486.4 MB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002957/0.3616, allocations: 1.473 MB / 487.9 MB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.3617, allocations: 29.98 kB / 487.9 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.753e-05/0.3618, allocations: 68.48 kB / 488 MB, free: 14.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=208): time 4.258e-06/0.3618, allocations: 0 / 488 MB, free: 14.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=250): time 0.05138/0.4132, allocations: 13.69 MB / 0.49 GB, free: 356 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002695/0.4134, allocations: 393.8 kB / 0.4903 GB, free: 15.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002569/0.416, allocations: 1.523 MB / 0.4918 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002164/0.4162, allocations: 77.62 kB / 0.4919 GB, free: 14.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007502/0.417, allocations: 0.837 MB / 0.4927 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008715/0.4178, allocations: 0.8791 MB / 0.4936 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008043/0.4186, allocations: 408.7 kB / 0.494 GB, free: 12.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4188, allocations: 305.1 kB / 0.4942 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002418/0.4212, allocations: 1 MB / 0.4952 GB, free: 10.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002627/0.4238, allocations: 1.26 MB / 0.4965 GB, free: 9.488 MB / 414.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.03427/0.4581, allocations: 9.274 MB / 0.5055 GB, free: 124 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.4581, allocations: 0 / 0.5055 GB, free: 124 kB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.007517/0.4656, allocations: 2.933 MB / 0.5084 GB, free: 13.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.4657, allocations: 8.094 kB / 0.5084 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.245e-05/0.4657, allocations: 11.98 kB / 0.5084 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.4668, allocations: 352.8 kB / 0.5087 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00266/0.4694, allocations: 0.5422 MB / 0.5093 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.4797, allocations: 10.34 MB / 0.5194 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/0.4821, allocations: 127.9 kB / 0.5195 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004251/0.4825, allocations: 87.95 kB / 0.5196 GB, free: 0.9727 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.001345/0.4838, allocations: 475.8 kB / 0.52 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007676/0.4846, allocations: 226.6 kB / 0.5202 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009266/0.4939, allocations: 3.426 MB / 0.5236 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.92e-05/0.4939, allocations: 24 kB / 0.5236 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.837e-05/0.4939, allocations: 4 kB / 0.5236 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-05/0.4939, allocations: 11.95 kB / 0.5236 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01535/0.5093, allocations: 6.214 MB / 0.5297 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.5093, allocations: 0 / 0.5297 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002135/0.5114, allocations: 435.4 kB / 0.5301 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005711/0.5171, allocations: 1.198 MB / 0.5313 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003055/0.5174, allocations: 59.97 kB / 0.5313 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2049/0.7224, allocations: 17.96 MB / 0.5489 GB, free: 91.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.7224, allocations: 0.8438 kB / 0.5489 GB, free: 91.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01004/0.7324, allocations: 4.912 MB / 0.5537 GB, free: 89.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/0.7337, allocations: 471.5 kB / 0.5541 GB, free: 89.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003709/0.734, allocations: 59.3 kB / 0.5542 GB, free: 89.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/0.7358, allocations: 135.7 kB / 0.5543 GB, free: 89.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005044/0.7363, allocations: 210.2 kB / 0.5545 GB, free: 89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/0.7364, allocations: 74.2 kB / 0.5546 GB, free: 88.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001152/0.7376, allocations: 1.048 MB / 0.5556 GB, free: 88.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.7376, allocations: 3.781 kB / 0.5556 GB, free: 88.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002246/0.7398, allocations: 0.6958 MB / 0.5563 GB, free: 88.47 MB / 446.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.009109/0.7489, allocations: 5.617 MB / 0.5618 GB, free: 85.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004656/0.7536, allocations: 3.235 MB / 0.5649 GB, free: 82.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.7536, allocations: 10.45 kB / 0.5649 GB, free: 82.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002986/0.7566, allocations: 2.509 MB / 0.5674 GB, free: 79.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.7586, allocations: 392.5 kB / 0.5678 GB, free: 79.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0251/0.7837, allocations: 19.59 MB / 0.5869 GB, free: 59.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000824/0.7845, allocations: 1.561 MB / 0.5884 GB, free: 57.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001201/0.7857, allocations: 299.9 kB / 0.5887 GB, free: 57.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/0.7868, allocations: 0.9171 MB / 0.5896 GB, free: 56.67 MB / 446.1 MB Notification: Performance of SimCode: time 1.292e-06/0.7868, allocations: 0 / 0.5896 GB, free: 56.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1039/0.8907, allocations: 60.48 MB / 0.6487 GB, free: 12.64 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.93/17.82, allocations: 15.47 kB / 0.6487 GB, free: 12.63 MB / 462.1 MB " [Timeout remaining time 642] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.6264754270087] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v'] 18.02914963598596 18.04640455 17.719949675 Calling exit ...