Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.001351/0.001351, allocations: 123.6 kB / 18.45 MB, free: 4.59 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.001577/0.001577, allocations: 209.7 kB / 21.41 MB, free: 1.641 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.496/1.496, allocations: 227.7 MB / 251.9 MB, free: 15.87 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-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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",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.00192/0.00192, allocations: 71.97 kB / 365.2 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1043, allocations: 50.55 MB / 415.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01624/0.1206, allocations: 13.5 MB / 429.3 MB, free: 20 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009548/0.1302, allocations: 4.54 MB / 433.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.1325, allocations: 87.62 kB / 433.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003343/0.1359, allocations: 0.9901 MB / 434.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004574/0.1405, allocations: 1.274 MB / 436.2 MB, free: 9.102 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002864/0.1433, allocations: 0.8869 MB / 437.1 MB, free: 8.215 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006533/0.1499, allocations: 4.066 MB / 441.1 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004751/0.1547, allocations: 3.248 MB / 444.4 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2093/0.364, allocations: 1.887 MB / 446.3 MB, free: 9.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003307/0.3674, allocations: 2.253 MB / 448.5 MB, free: 9.438 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001245/0.3687, allocations: 0.5091 MB / 449 MB, free: 9.438 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002165/0.3708, allocations: 0.7296 MB / 449.8 MB, free: 9.438 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001386/0.3722, allocations: 1.137 MB / 450.9 MB, free: 9.309 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004585/0.3769, allocations: 2.135 MB / 453 MB, free: 8.789 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01468/0.3916, allocations: 6.813 MB / 459.8 MB, free: 8.059 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.417e-06/0.3916, allocations: 2.375 kB / 459.8 MB, free: 8.059 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3916, allocations: 0 / 459.8 MB, free: 8.059 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000378/0.392, allocations: 0.9375 kB / 459.8 MB, free: 8.059 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01697/0.409, allocations: 4.526 MB / 464.4 MB, free: 6.367 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.4091, allocations: 9.781 kB / 464.4 MB, free: 6.367 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008981/0.41, allocations: 450 kB / 464.8 MB, free: 6.309 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004879/0.4149, allocations: 0.8384 MB / 465.7 MB, free: 6.105 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005662/0.4206, allocations: 2.522 MB / 468.2 MB, free: 5.535 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002391/0.4208, allocations: 231.2 kB / 468.4 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001094/0.4219, allocations: 318.9 kB / 468.7 MB, free: 5.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01022/0.4322, allocations: 4.262 MB / 473 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001129/0.4323, allocations: 6.25 kB / 473 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004918/0.4328, allocations: 126.4 kB / 473.1 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000188/0.433, allocations: 146.2 kB / 473.2 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007973/0.441, allocations: 3.672 MB / 476.9 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02756/0.4686, allocations: 13.45 MB / 490.4 MB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00776/0.4764, allocations: 6.878 MB / 497.2 MB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002651/0.4791, allocations: 1.416 MB / 498.7 MB, free: 52 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007462/0.4866, allocations: 3.885 MB / 0.4908 GB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.793e-05/0.4867, allocations: 55.2 kB / 0.4908 GB, free: 12.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=124): time 3.827e-06/0.4867, allocations: 0 / 0.4908 GB, free: 12.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=144): time 0.0159/0.5026, allocations: 6.716 MB / 0.4974 GB, free: 5.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.5027, allocations: 68.09 kB / 0.4974 GB, free: 5.562 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00381/0.5065, allocations: 1.884 MB / 0.4993 GB, free: 3.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002913/0.5069, allocations: 51.02 kB / 0.4993 GB, free: 3.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001262/0.5081, allocations: 1.485 MB / 0.5008 GB, free: 2.129 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006762/0.5088, allocations: 0.5161 MB / 0.5013 GB, free: 1.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005699/0.5094, allocations: 303.5 kB / 0.5016 GB, free: 1.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.5096, allocations: 305.1 kB / 0.5019 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.511, allocations: 0.7574 MB / 0.5026 GB, free: 268 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/0.5128, allocations: 1.225 MB / 0.5038 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003331/0.5161, allocations: 2.118 MB / 0.5059 GB, free: 12.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/0.5161, allocations: 4 kB / 0.5059 GB, free: 12.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005338/0.5215, allocations: 2.668 MB / 0.5085 GB, free: 10.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.5215, allocations: 16.22 kB / 0.5085 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/0.5216, allocations: 20 kB / 0.5085 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001492/0.5231, allocations: 0.5015 MB / 0.509 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.5247, allocations: 384.7 kB / 0.5094 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009517/0.5342, allocations: 6.918 MB / 0.5161 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/0.536, allocations: 71.97 kB / 0.5162 GB, free: 1.895 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002325/0.5363, allocations: 71.92 kB / 0.5163 GB, free: 1.824 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002255/0.5385, allocations: 1.061 MB / 0.5173 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005882/0.5391, allocations: 206.7 kB / 0.5175 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004874/0.544, allocations: 2.502 MB / 0.5199 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/0.5441, allocations: 20 kB / 0.52 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/0.5441, allocations: 11.94 kB / 0.52 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.5441, allocations: 7.969 kB / 0.52 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.5545, allocations: 5.537 MB / 0.5254 GB, free: 8.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.5545, allocations: 0 / 0.5254 GB, free: 8.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.5557, allocations: 233.7 kB / 0.5256 GB, free: 8.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001492/0.5572, allocations: 497.1 kB / 0.5261 GB, free: 7.688 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001494/0.5573, allocations: 35.98 kB / 0.5261 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01257/0.5699, allocations: 11.44 MB / 0.5373 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5699, allocations: 0 / 0.5373 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006586/0.5765, allocations: 3.587 MB / 0.5408 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001467/0.5781, allocations: 467.7 kB / 0.5412 GB, free: 7.469 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005068/0.5786, allocations: 32 kB / 0.5413 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.5797, allocations: 67.95 kB / 0.5413 GB, free: 7.371 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003458/0.5801, allocations: 116.6 kB / 0.5414 GB, free: 7.262 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.5802, allocations: 39.98 kB / 0.5415 GB, free: 7.223 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002389/0.5826, allocations: 1.302 MB / 0.5428 GB, free: 5.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5826, allocations: 0 / 0.5428 GB, free: 5.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002878/0.5855, allocations: 0.5937 MB / 0.5433 GB, free: 5.336 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006898/0.5924, allocations: 4.211 MB / 0.5474 GB, free: 1.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004914/0.5974, allocations: 2.404 MB / 0.5498 GB, free: 14.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.5974, allocations: 0.9375 kB / 0.5498 GB, free: 14.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003009/0.6004, allocations: 1.75 MB / 0.5515 GB, free: 12.91 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003098/0.6035, allocations: 0.5264 MB / 0.552 GB, free: 12.39 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04484/0.6484, allocations: 21.41 MB / 0.5729 GB, free: 6.535 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003891/0.6523, allocations: 2.383 MB / 0.5753 GB, free: 4.121 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002051/0.6544, allocations: 417 kB / 0.5756 GB, free: 3.711 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002612/0.6571, allocations: 1.159 MB / 0.5768 GB, free: 2.555 MB / 478.1 MB Notification: Performance of SimCode: time 1.193e-06/0.6571, allocations: 4 kB / 0.5768 GB, free: 2.551 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3813/1.038, allocations: 55.54 MB / 0.631 GB, free: 168.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.24/15.28, allocations: 7.016 kB / 0.631 GB, free: 168.7 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.93106655101292] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.airGap.V_mrr.im', 'aimc.airGap.V_mrr.re', 'aimc.airGap.V_msr.im', 'aimc.airGap.V_msr.re', '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.port_p.V_m.im', 'aimc.stator.port_p.V_m.re', '// aimc.stator.zeroInductor.i0', 'aimc.is[1]', 'aimc.is[2]', 'loadInertia.phi', 'loadInertia.w'] 15.38918121601455 15.402027135 15.008089637 Calling exit ...