Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.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.001472/0.001472, allocations: 120 kB / 18.49 MB, free: 4.562 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.001476/0.001476, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.414/1.414, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 52.06 kB / 373.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1018, allocations: 53.33 MB / 427 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.2174/0.3192, allocations: 17.52 MB / 444.6 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01163/0.3308, allocations: 5.967 MB / 450.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003716/0.3346, allocations: 141.1 kB / 450.7 MB, free: 13 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004378/0.3389, allocations: 1.422 MB / 452.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007541/0.3465, allocations: 1.819 MB / 453.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003418/0.3499, allocations: 1.086 MB / 455 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01028/0.3602, allocations: 6.339 MB / 461.3 MB, free: 7.137 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005764/0.3659, allocations: 3.76 MB / 465.1 MB, free: 5.477 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006844/0.3728, allocations: 3.032 MB / 468.1 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007552/0.3803, allocations: 3.517 MB / 471.6 MB, free: 1.602 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002115/0.3824, allocations: 0.7882 MB / 472.4 MB, free: 1.602 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004435/0.3869, allocations: 1.093 MB / 473.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002535/0.3894, allocations: 1.882 MB / 475.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007642/0.3971, allocations: 3.361 MB / 478.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0154/0.4125, allocations: 10.59 MB / 489.4 MB, free: 2.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.4125, allocations: 0 / 489.4 MB, free: 2.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4125, allocations: 3.938 kB / 489.4 MB, free: 2.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002846/0.4128, allocations: 4 kB / 489.4 MB, free: 2.473 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.0205/0.4333, allocations: 6.702 MB / 496.1 MB, free: 11.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.4333, allocations: 8.031 kB / 496.1 MB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001688/0.4335, allocations: 133.9 kB / 496.2 MB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001399/0.4349, allocations: 0.6672 MB / 496.9 MB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005489/0.4404, allocations: 1.094 MB / 498 MB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007825/0.4482, allocations: 3.714 MB / 0.4899 GB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003854/0.4486, allocations: 369.7 kB / 0.4903 GB, free: 5.613 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001362/0.4499, allocations: 484.4 kB / 0.4907 GB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01395/0.4639, allocations: 6.877 MB / 0.4974 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.77e-05/0.464, allocations: 12.5 kB / 0.4975 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004968/0.4645, allocations: 196 kB / 0.4976 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002563/0.4647, allocations: 245.8 kB / 0.4979 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0116/0.4763, allocations: 5.938 MB / 0.5037 GB, free: 7.789 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0391/0.5154, allocations: 20.81 MB / 0.524 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/0.5259, allocations: 9.753 MB / 0.5335 GB, free: 7.789 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004101/0.53, allocations: 2.306 MB / 0.5358 GB, free: 5.477 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01189/0.5419, allocations: 6.74 MB / 0.5424 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.35e-05/0.5419, allocations: 60.56 kB / 0.5424 GB, free: 14.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=219): time 5.019e-06/0.5419, allocations: 0 / 0.5424 GB, free: 14.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=226): time 0.01929/0.5612, allocations: 9.73 MB / 0.5519 GB, free: 4.566 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.5613, allocations: 81.34 kB / 0.552 GB, free: 4.473 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004677/0.566, allocations: 3.018 MB / 0.5549 GB, free: 1.441 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002433/0.5662, allocations: 69.7 kB / 0.555 GB, free: 1.367 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001782/0.568, allocations: 2.229 MB / 0.5572 GB, free: 15.12 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008007/0.5688, allocations: 0.7979 MB / 0.558 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007892/0.5696, allocations: 465.2 kB / 0.5584 GB, free: 13.86 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5697, allocations: 313.1 kB / 0.5587 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002115/0.5718, allocations: 1.289 MB / 0.56 GB, free: 12.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002631/0.5745, allocations: 1.92 MB / 0.5618 GB, free: 10.07 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004935/0.5794, allocations: 3.348 MB / 0.5651 GB, free: 6.473 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.5794, allocations: 4 kB / 0.5651 GB, free: 6.469 MB / 478.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.007692/0.5871, allocations: 4.254 MB / 0.5693 GB, free: 2.172 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.5871, allocations: 12 kB / 0.5693 GB, free: 2.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.235e-05/0.5872, allocations: 20 kB / 0.5693 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002622/0.5898, allocations: 0.7749 MB / 0.5701 GB, free: 1.355 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/0.5921, allocations: 0.5539 MB / 0.5706 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01276/0.6048, allocations: 10.88 MB / 0.5812 GB, free: 5.363 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002628/0.6075, allocations: 111.9 kB / 0.5813 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000231/0.6077, allocations: 100 kB / 0.5814 GB, free: 5.156 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003106/0.6108, allocations: 1.622 MB / 0.583 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007566/0.6116, allocations: 333.9 kB / 0.5833 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007041/0.6186, allocations: 3.883 MB / 0.5871 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/0.6186, allocations: 27.98 kB / 0.5871 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/0.6186, allocations: 8 kB / 0.5872 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.08e-05/0.6187, allocations: 7.969 kB / 0.5872 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0149/0.6336, allocations: 8.545 MB / 0.5955 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.6336, allocations: 4 kB / 0.5955 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/0.6352, allocations: 347.8 kB / 0.5958 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00315/0.6383, allocations: 0.953 MB / 0.5968 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001721/0.6385, allocations: 63.97 kB / 0.5968 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01843/0.6569, allocations: 15.75 MB / 0.6122 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6569, allocations: 0 / 0.6122 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2134/0.8703, allocations: 5.691 MB / 0.6178 GB, free: 157.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002125/0.8724, allocations: 0.7034 MB / 0.6185 GB, free: 157.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006615/0.8731, allocations: 53.67 kB / 0.6185 GB, free: 157.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/0.8746, allocations: 105.6 kB / 0.6186 GB, free: 157.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005135/0.8751, allocations: 193.1 kB / 0.6188 GB, free: 157.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/0.8753, allocations: 63.67 kB / 0.6189 GB, free: 157.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003453/0.8787, allocations: 2.079 MB / 0.6209 GB, free: 157.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.8787, allocations: 0 / 0.6209 GB, free: 157.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003709/0.8824, allocations: 0.9427 MB / 0.6218 GB, free: 157.6 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 6 systems {(1,8,100.0%), (3,25,88.9%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009925/0.8924, allocations: 6.406 MB / 0.6281 GB, free: 155.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006881/0.8992, allocations: 3.782 MB / 0.6318 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/0.8992, allocations: 4.375 kB / 0.6318 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004337/0.9036, allocations: 2.563 MB / 0.6343 GB, free: 152.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004172/0.9078, allocations: 0.9271 MB / 0.6352 GB, free: 152.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05038/0.9581, allocations: 33.84 MB / 0.6682 GB, free: 133.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002958/0.9611, allocations: 3.438 MB / 0.6716 GB, free: 130.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002619/0.9637, allocations: 0.7567 MB / 0.6723 GB, free: 129.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002357/0.9661, allocations: 1.85 MB / 0.6741 GB, free: 128.1 MB / 0.5137 GB Notification: Performance of SimCode: time 1.022e-06/0.9661, allocations: 0 / 0.6741 GB, free: 128.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1229/1.089, allocations: 86.52 MB / 0.7586 GB, free: 42.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.24/17.32, allocations: 6.875 kB / 0.7586 GB, free: 42.3 MB / 0.5137 GB " [Timeout remaining time 642] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.974770859989803] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', '// aimc.stator.zeroInductor.i0', 'aimc.is[1]', 'aimc.is[2]', 'loadInertia.phi', 'loadInertia.w', 'transformer.l2sigma.inductor[1].i', 'transformer.l2sigma.inductor[3].i'] 17.514994264987763 17.525230099 17.110190013 Calling exit ...