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.SynchronousMachines.SMEE_Generator.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.001617/0.001617, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.002036/0.002036, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.569/1.569, allocations: 230.5 MB / 254.8 MB, free: 15.08 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.SynchronousMachines.SMEE_Generator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator",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.002039/0.002039, allocations: 71.83 kB / 373.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1188, allocations: 53.33 MB / 427 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.247/0.3657, allocations: 24.86 MB / 451.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02033/0.386, allocations: 7.404 MB / 459.3 MB, free: 6.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006808/0.3929, allocations: 182.1 kB / 459.5 MB, free: 6.504 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006398/0.3993, allocations: 1.64 MB / 461.1 MB, free: 5.629 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01116/0.4104, allocations: 2.363 MB / 463.5 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00614/0.4166, allocations: 1.488 MB / 465 MB, free: 3.133 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0168/0.4333, allocations: 7.266 MB / 472.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007543/0.4409, allocations: 3.865 MB / 476.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007469/0.4484, allocations: 3.286 MB / 479.4 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008178/0.4565, allocations: 4.028 MB / 483.4 MB, free: 8.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002767/0.4593, allocations: 0.8738 MB / 484.3 MB, free: 7.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004308/0.4636, allocations: 1.316 MB / 485.6 MB, free: 6.188 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002938/0.4666, allocations: 2.138 MB / 487.7 MB, free: 4.039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007372/0.4739, allocations: 3.796 MB / 491.5 MB, free: 232 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01673/0.4907, allocations: 11.55 MB / 0.4913 GB, free: 4.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.902e-06/0.4907, allocations: 0 / 0.4913 GB, free: 4.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4907, allocations: 0 / 0.4913 GB, free: 4.637 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004068/0.4911, allocations: 0 / 0.4913 GB, free: 4.637 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.02195/0.513, allocations: 7.63 MB / 0.4988 GB, free: 12.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.5131, allocations: 12.03 kB / 0.4988 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00192/0.515, allocations: 0.7662 MB / 0.4995 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007034/0.522, allocations: 1.269 MB / 0.5008 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01242/0.5345, allocations: 4.191 MB / 0.5048 GB, free: 6.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004826/0.5349, allocations: 428 kB / 0.5053 GB, free: 6.172 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002108/0.537, allocations: 0.5662 MB / 0.5058 GB, free: 5.605 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01889/0.5559, allocations: 7.28 MB / 0.5129 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001681/0.5561, allocations: 11.94 kB / 0.5129 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009754/0.5571, allocations: 236 kB / 0.5132 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003324/0.5574, allocations: 255.3 kB / 0.5134 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01498/0.5724, allocations: 6.14 MB / 0.5194 GB, free: 7.633 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05473/0.6271, allocations: 23.57 MB / 0.5424 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01101/0.6381, allocations: 8.756 MB / 0.551 GB, free: 5.703 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005056/0.6432, allocations: 2.3 MB / 0.5532 GB, free: 3.395 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01882/0.662, allocations: 7.543 MB / 0.5606 GB, free: 11.49 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/0.6621, allocations: 64.5 kB / 0.5606 GB, free: 11.42 MB / 478.1 MB Notification: Performance of pre-optimization done (n=238): time 7.935e-06/0.6621, allocations: 4 kB / 0.5606 GB, free: 11.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=282): time 0.04094/0.7031, allocations: 13.91 MB / 0.5742 GB, free: 13.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/0.7031, allocations: 81.59 kB / 0.5743 GB, free: 13.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007782/0.7109, allocations: 3.454 MB / 0.5777 GB, free: 9.766 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006079/0.7115, allocations: 73.7 kB / 0.5777 GB, free: 9.688 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002854/0.7144, allocations: 2.772 MB / 0.5805 GB, free: 6.891 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001446/0.7158, allocations: 1.007 MB / 0.5814 GB, free: 5.875 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002041/0.7179, allocations: 0.6492 MB / 0.5821 GB, free: 5.219 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.718, allocations: 301.1 kB / 0.5824 GB, free: 4.922 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003507/0.7215, allocations: 1.545 MB / 0.5839 GB, free: 3.375 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00467/0.7262, allocations: 2.763 MB / 0.5866 GB, free: 80 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009543/0.7357, allocations: 4.591 MB / 0.591 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-05/0.7358, allocations: 12 kB / 0.5911 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.01281/0.7486, allocations: 5.505 MB / 0.5964 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.278e-05/0.7487, allocations: 20.62 kB / 0.5965 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-05/0.7488, allocations: 40 kB / 0.5965 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001855/0.7506, allocations: 0.6822 MB / 0.5972 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00377/0.7544, allocations: 0.858 MB / 0.598 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/0.7683, allocations: 10.5 MB / 0.6082 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004494/0.7728, allocations: 219.7 kB / 0.6085 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007423/0.7735, allocations: 172 kB / 0.6086 GB, free: 8.254 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * 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 (427): * Single equations (assignments): 417 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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,12,100.0%), (1,6,100.0%), (2,13,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00411/0.7776, allocations: 1.617 MB / 0.6102 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001374/0.779, allocations: 421.3 kB / 0.6106 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/0.7894, allocations: 4.511 MB / 0.615 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.483e-05/0.7895, allocations: 35.94 kB / 0.615 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.241e-05/0.7895, allocations: 8 kB / 0.6151 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-05/0.7895, allocations: 11.95 kB / 0.6151 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2682/1.058, allocations: 9.903 MB / 0.6247 GB, free: 156.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.143e-05/1.058, allocations: 5.062 kB / 0.6247 GB, free: 156.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002528/1.06, allocations: 0.4938 MB / 0.6252 GB, free: 156.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002259/1.063, allocations: 0.7536 MB / 0.626 GB, free: 156.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004759/1.063, allocations: 68.67 kB / 0.626 GB, free: 156.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01265/1.076, allocations: 14.26 MB / 0.6399 GB, free: 144.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.207e-05/1.076, allocations: 14.75 kB / 0.64 GB, free: 144.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01233/1.088, allocations: 6.625 MB / 0.6464 GB, free: 141.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00224/1.09, allocations: 0.7889 MB / 0.6472 GB, free: 141.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/1.091, allocations: 64.28 kB / 0.6473 GB, free: 141.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002667/1.094, allocations: 161.9 kB / 0.6474 GB, free: 141.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005912/1.095, allocations: 211.9 kB / 0.6476 GB, free: 141.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002218/1.095, allocations: 81.8 kB / 0.6477 GB, free: 141.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004295/1.099, allocations: 2.327 MB / 0.65 GB, free: 140.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/1.099, allocations: 1.281 kB / 0.65 GB, free: 140.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005131/1.104, allocations: 1.1 MB / 0.651 GB, free: 140.4 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.stray.Phi.re,smeeM.stator.stray.Phi.im,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.idq_dr[1]) * 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 (235): * Single equations (assignments): 225 * Array equations: 4 * 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 {(2,13,100.0%), (1,5,100.0%), (1,8,100.0%), (3,12,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01163/1.116, allocations: 7.375 MB / 0.6582 GB, free: 136.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007571/1.123, allocations: 4.532 MB / 0.6627 GB, free: 134.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/1.123, allocations: 3.938 kB / 0.6627 GB, free: 134.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00476/1.128, allocations: 2.726 MB / 0.6653 GB, free: 133.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004848/1.133, allocations: 0.9226 MB / 0.6662 GB, free: 133.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05998/1.193, allocations: 39.27 MB / 0.7046 GB, free: 94.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002939/1.196, allocations: 3.519 MB / 0.708 GB, free: 90.92 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002681/1.199, allocations: 0.8526 MB / 0.7089 GB, free: 90.06 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002561/1.201, allocations: 2.272 MB / 0.7111 GB, free: 87.79 MB / 0.5137 GB Notification: Performance of SimCode: time 1.162e-06/1.201, allocations: 0 / 0.7111 GB, free: 87.79 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.195/1.396, allocations: 95.03 MB / 0.8039 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.06/20.45, allocations: 11.58 kB / 0.8039 GB, free: 9.523 MB / 0.5294 GB " [Timeout remaining time 639] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.353494046721607] Failed to read output from testmodel.py, exit status != 0: ['time', 'constantSpeedE.phi', 'constantSpeedM.phi', 'smeeE.is[1]', 'smeeE.is[2]', 'smeeE.idq_dr[1]', 'smeeE.idq_rr[2]', 'smeeE.idq_sr[1]', 'smeeE.idq_sr[2]', 'smeeM.is[1]', 'smeeM.is[2]', 'smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smeeM.stator.stray.port_p.Phi.im', 'smeeM.stator.stray.port_p.Phi.re'] 20.599050601013005 20.614060032 20.119713504 Calling exit ...