Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.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.001325/0.001325, allocations: 116.5 kB / 17.74 MB, free: 5.355 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.001484/0.001484, allocations: 186.9 kB / 20.68 MB, free: 2.422 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.433/1.433, allocations: 222.9 MB / 246.4 MB, free: 4.199 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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 51.92 kB / 357.5 MB, free: 8.789 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1106, allocations: 49.44 MB / 407 MB, free: 7.305 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.02131/0.1319, allocations: 16.8 MB / 423.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.1452, allocations: 5.688 MB / 429.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003558/0.1488, allocations: 107.6 kB / 429.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2228/0.3715, allocations: 1.334 MB / 430.9 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006053/0.3777, allocations: 1.788 MB / 432.7 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003127/0.3808, allocations: 1.034 MB / 433.7 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008924/0.3898, allocations: 6.287 MB / 440 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00797/0.3978, allocations: 5.388 MB / 445.4 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007017/0.4048, allocations: 2.929 MB / 448.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007122/0.412, allocations: 3.345 MB / 451.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003478/0.4155, allocations: 0.7882 MB / 452.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006283/0.4218, allocations: 1.063 MB / 453.5 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004304/0.4261, allocations: 1.861 MB / 455.4 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009574/0.4357, allocations: 3.449 MB / 458.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01604/0.4518, allocations: 10.55 MB / 469.4 MB, free: 8.582 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.4519, allocations: 3.938 kB / 469.4 MB, free: 8.578 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.461e-06/0.4519, allocations: 0 / 469.4 MB, free: 8.578 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003709/0.4522, allocations: 3.938 kB / 469.4 MB, free: 8.574 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: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.02069/0.473, allocations: 6.656 MB / 476 MB, free: 1.859 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.473, allocations: 15.88 kB / 476 MB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001929/0.475, allocations: 0.6809 MB / 476.7 MB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005892/0.4809, allocations: 1.076 MB / 477.8 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009177/0.4901, allocations: 3.673 MB / 481.5 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005025/0.4906, allocations: 364.8 kB / 481.8 MB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001836/0.4924, allocations: 491.8 kB / 482.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01978/0.5122, allocations: 6.866 MB / 489.2 MB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002467/0.5125, allocations: 3.984 kB / 489.2 MB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001758/0.5143, allocations: 207.8 kB / 489.4 MB, free: 4.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003286/0.5146, allocations: 233.8 kB / 489.6 MB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01563/0.5303, allocations: 5.941 MB / 495.6 MB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04699/0.5773, allocations: 20.71 MB / 0.5042 GB, free: 9.246 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01271/0.59, allocations: 9.953 MB / 0.5139 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005372/0.5955, allocations: 2.481 MB / 0.5163 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01551/0.611, allocations: 6.486 MB / 0.5226 GB, free: 5.258 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.871e-05/0.6111, allocations: 60.55 kB / 0.5227 GB, free: 5.191 MB / 430.1 MB Notification: Performance of pre-optimization done (n=219): time 6.242e-06/0.6112, allocations: 0 / 0.5227 GB, free: 5.191 MB / 430.1 MB Notification: Performance of matching and sorting (n=226): time 0.02236/0.6335, allocations: 9.742 MB / 0.5322 GB, free: 11.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.476e-05/0.6336, allocations: 81.39 kB / 0.5323 GB, free: 11.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00652/0.6402, allocations: 2.984 MB / 0.5352 GB, free: 8.156 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003893/0.6406, allocations: 65.7 kB / 0.5353 GB, free: 8.086 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002085/0.6427, allocations: 2.215 MB / 0.5374 GB, free: 5.863 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001058/0.6438, allocations: 0.8023 MB / 0.5382 GB, free: 5.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001279/0.645, allocations: 465.2 kB / 0.5387 GB, free: 4.609 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.6452, allocations: 305.1 kB / 0.539 GB, free: 4.309 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002429/0.6476, allocations: 1.289 MB / 0.5402 GB, free: 3.016 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002927/0.6506, allocations: 1.923 MB / 0.5421 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00546/0.656, allocations: 3.338 MB / 0.5453 GB, free: 13.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.458e-05/0.6561, allocations: 8 kB / 0.5454 GB, free: 13.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.008243/0.6643, allocations: 4.266 MB / 0.5495 GB, free: 8.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.6644, allocations: 15.94 kB / 0.5495 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.512e-05/0.6645, allocations: 16 kB / 0.5496 GB, free: 8.898 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002723/0.6672, allocations: 0.7613 MB / 0.5503 GB, free: 8.125 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/0.6696, allocations: 0.5694 MB / 0.5509 GB, free: 7.555 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/0.6827, allocations: 10.88 MB / 0.5615 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/0.6854, allocations: 111.9 kB / 0.5616 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005042/0.6859, allocations: 100 kB / 0.5617 GB, free: 11.92 MB / 478.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.003768/0.6897, allocations: 1.612 MB / 0.5633 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001221/0.6909, allocations: 329.9 kB / 0.5636 GB, free: 9.977 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008835/0.6998, allocations: 3.91 MB / 0.5674 GB, free: 6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.568e-05/0.6998, allocations: 24 kB / 0.5674 GB, free: 5.977 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.493e-05/0.6999, allocations: 11.94 kB / 0.5674 GB, free: 5.965 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.342e-05/0.6999, allocations: 15.95 kB / 0.5674 GB, free: 5.949 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01838/0.7183, allocations: 8.558 MB / 0.5758 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.7184, allocations: 0 / 0.5758 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/0.72, allocations: 343.8 kB / 0.5761 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003355/0.7234, allocations: 0.9371 MB / 0.577 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002813/0.7237, allocations: 63.97 kB / 0.5771 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01929/0.743, allocations: 15.73 MB / 0.5925 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.7431, allocations: 0 / 0.5925 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01152/0.7546, allocations: 5.711 MB / 0.598 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00208/0.7567, allocations: 0.6941 MB / 0.5987 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009895/0.7577, allocations: 55.98 kB / 0.5988 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002141/0.7599, allocations: 107.9 kB / 0.5989 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006231/0.7605, allocations: 189.6 kB / 0.599 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002504/0.7608, allocations: 67.98 kB / 0.5991 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004718/0.7655, allocations: 2.058 MB / 0.6011 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.31e-07/0.7656, allocations: 4 kB / 0.6011 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004947/0.7705, allocations: 0.9413 MB / 0.602 GB, free: 1.449 MB / 0.4981 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%), (2,26,100.0%), (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.01237/0.7829, allocations: 6.419 MB / 0.6083 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007536/0.7905, allocations: 3.91 MB / 0.6121 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/0.7905, allocations: 4 kB / 0.6121 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00512/0.7956, allocations: 2.643 MB / 0.6147 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00599/0.8017, allocations: 0.9096 MB / 0.6156 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2721/1.074, allocations: 33.79 MB / 0.6486 GB, free: 165.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002922/1.077, allocations: 3.426 MB / 0.6519 GB, free: 164.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002298/1.079, allocations: 0.7583 MB / 0.6527 GB, free: 164.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002094/1.081, allocations: 1.841 MB / 0.6545 GB, free: 162.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.223e-06/1.081, allocations: 0 / 0.6545 GB, free: 162.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1412/1.222, allocations: 85.32 MB / 0.7378 GB, free: 81.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.44/17.66, allocations: 6.484 kB / 0.7378 GB, free: 81.32 MB / 0.5137 GB " [Timeout remaining time 642] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.42067708610557] 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.796890485100448 17.807485799 17.353667092 Calling exit ...