Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.001464/0.001464, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001572/0.001572, allocations: 195.7 kB / 24.5 MB, free: 4.008 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.37/1.37, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 47.92 kB / 371.3 MB, free: 9.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2513, allocations: 52.19 MB / 423.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04851/0.2998, allocations: 41.38 MB / 464.8 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02518/0.325, allocations: 11.16 MB / 476 MB, free: 9.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008016/0.333, allocations: 354.2 kB / 476.3 MB, free: 9.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.021/0.354, allocations: 7.994 MB / 484.3 MB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01277/0.3667, allocations: 3.747 MB / 488.1 MB, free: 13.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007521/0.3743, allocations: 2.319 MB / 490.4 MB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01904/0.3933, allocations: 12.55 MB / 0.4912 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02885/0.4221, allocations: 15.76 MB / 0.5066 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01108/0.4332, allocations: 6.51 MB / 0.5129 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01294/0.4462, allocations: 7.241 MB / 0.52 GB, free: 1.094 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005055/0.4512, allocations: 1.828 MB / 0.5218 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007277/0.4585, allocations: 2.253 MB / 0.524 GB, free: 13.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00594/0.4644, allocations: 3.662 MB / 0.5276 GB, free: 9.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01214/0.4766, allocations: 7.081 MB / 0.5345 GB, free: 2.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2564/0.7329, allocations: 24.07 MB / 0.558 GB, free: 40.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.7329, allocations: 1.406 kB / 0.558 GB, free: 40.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.7329, allocations: 0 / 0.558 GB, free: 40.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007988/0.7337, allocations: 0 / 0.558 GB, free: 40.41 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3043 * Number of variables: 3043 Notification: Performance of Generate backend data structure: time 0.04617/0.7799, allocations: 14.39 MB / 0.572 GB, free: 33.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.78, allocations: 8.938 kB / 0.572 GB, free: 33.98 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003134/0.7803, allocations: 347.1 kB / 0.5724 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00702/0.7873, allocations: 1.746 MB / 0.5741 GB, free: 32.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02878/0.8161, allocations: 5.224 MB / 0.5792 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01785/0.8339, allocations: 7.707 MB / 0.5867 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006672/0.8346, allocations: 0.8262 MB / 0.5875 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004485/0.8391, allocations: 1.097 MB / 0.5886 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03996/0.879, allocations: 16.61 MB / 0.6048 GB, free: 7.746 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004303/0.8795, allocations: 20.62 kB / 0.6048 GB, free: 7.727 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003657/0.8831, allocations: 461.4 kB / 0.6053 GB, free: 7.285 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004853/0.8836, allocations: 0.5735 MB / 0.6058 GB, free: 6.707 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03449/0.9181, allocations: 14.76 MB / 0.6202 GB, free: 7.93 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1149/1.033, allocations: 53.75 MB / 0.6727 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01817/1.051, allocations: 7.535 MB / 0.6801 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006661/1.058, allocations: 3.015 MB / 0.683 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02099/1.079, allocations: 9.348 MB / 0.6922 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.71e-05/1.079, allocations: 72.81 kB / 0.6922 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=317): time 5.45e-06/1.079, allocations: 2.078 kB / 0.6922 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=407): time 0.06099/1.14, allocations: 22.71 MB / 0.7144 GB, free: 7.977 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.366e-05/1.14, allocations: 116.5 kB / 0.7145 GB, free: 7.844 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01161/1.152, allocations: 5.17 MB / 0.7196 GB, free: 2.684 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007209/1.152, allocations: 93.7 kB / 0.7197 GB, free: 2.586 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005091/1.157, allocations: 5.336 MB / 0.7249 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002119/1.16, allocations: 1.488 MB / 0.7263 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003866/1.163, allocations: 1.354 MB / 0.7276 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.164, allocations: 301.1 kB / 0.7279 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005849/1.169, allocations: 3.059 MB / 0.7309 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009281/1.179, allocations: 5.902 MB / 0.7367 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01563/1.194, allocations: 9.462 MB / 0.7459 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000109/1.194, allocations: 28 kB / 0.746 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=883) (initialization): time 0.2622/1.457, allocations: 10.73 MB / 0.7564 GB, free: 210.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.361e-05/1.457, allocations: 51.97 kB / 0.7565 GB, free: 210.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000161/1.457, allocations: 95.66 kB / 0.7566 GB, free: 210.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004268/1.461, allocations: 1.614 MB / 0.7581 GB, free: 210.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005559/1.467, allocations: 1.525 MB / 0.7596 GB, free: 210.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01986/1.487, allocations: 18.82 MB / 0.778 GB, free: 199.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00692/1.493, allocations: 434.8 kB / 0.7784 GB, free: 199.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001479/1.495, allocations: 363.1 kB / 0.7788 GB, free: 199.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 430 * 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 (792): * Single equations (assignments): 784 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(8,26,67.2%), (8,26,65.6%), (1,8,100.0%), (2,8,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007943/1.503, allocations: 3.823 MB / 0.7825 GB, free: 197.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001649/1.505, allocations: 0.5443 MB / 0.783 GB, free: 197.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/1.518, allocations: 7.365 MB / 0.7902 GB, free: 194.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006579/1.525, allocations: 4.215 MB / 0.7943 GB, free: 193.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.806e-05/1.525, allocations: 22.03 kB / 0.7944 GB, free: 193.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.506e-05/1.525, allocations: 18.84 kB / 0.7944 GB, free: 193.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03208/1.557, allocations: 17.04 MB / 0.811 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.568e-05/1.557, allocations: 8.125 kB / 0.811 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002908/1.56, allocations: 0.6514 MB / 0.8117 GB, free: 177.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003795/1.563, allocations: 1.507 MB / 0.8131 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006055/1.564, allocations: 91.97 kB / 0.8132 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01928/1.583, allocations: 20.84 MB / 0.8336 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.583, allocations: 9.453 kB / 0.8336 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01673/1.6, allocations: 10.61 MB / 0.8439 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003179/1.603, allocations: 1.062 MB / 0.845 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00176/1.605, allocations: 87.92 kB / 0.8451 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003685/1.609, allocations: 223.8 kB / 0.8453 GB, free: 143.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001027/1.61, allocations: 334.7 kB / 0.8456 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005108/1.61, allocations: 116 kB / 0.8457 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006754/1.617, allocations: 3.422 MB / 0.849 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.4e-07/1.617, allocations: 1.531 kB / 0.849 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009603/1.627, allocations: 1.935 MB / 0.8509 GB, free: 137.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 ($outputAlias_Ptr,smee.phiMechanical,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smeeQS.short.port_p.reference.gamma,mechanicalPowerSensorQS.relSpeedSensor.phi_rel) * 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 (328): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,8,100.0%), (2,8,100.0%), (1,4,100.0%), (1,11,100.0%), (3,4,77.8%), (8,20,64.1%), (8,26,64.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01794/1.645, allocations: 11.36 MB / 0.862 GB, free: 125.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01422/1.659, allocations: 8.178 MB / 0.87 GB, free: 117.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/1.659, allocations: 384 / 0.87 GB, free: 117.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007582/1.666, allocations: 4.314 MB / 0.8742 GB, free: 113.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008407/1.675, allocations: 1.197 MB / 0.8754 GB, free: 112 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1305/1.805, allocations: 66.44 MB / 0.9403 GB, free: 41.85 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01209/1.817, allocations: 6.695 MB / 0.9468 GB, free: 35.11 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00635/1.824, allocations: 1.901 MB / 0.9487 GB, free: 33.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006774/1.83, allocations: 4.119 MB / 0.9527 GB, free: 29.09 MB / 0.5762 GB Notification: Performance of SimCode: time 1.533e-06/1.83, allocations: 0 / 0.9527 GB, free: 29.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4442/2.275, allocations: 159.5 MB / 1.108 GB, free: 109.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.63/25.9, allocations: 2.062 kB / 1.108 GB, free: 109.3 MB / 0.5762 GB " [Timeout remaining time 634] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_fmu --startTime=0 --stopTime=30 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 29.734612061001826] Failed to read output from testmodel.py, exit status != 0: ['time', 'constantSpeed.phi', 'constantSpeedQS.phi', 'smee.excitation.electroMagneticConverter.Phi.re', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smee.stator.stray.port_p.Phi.im', 'smee.stator.stray.port_p.Phi.re', 'smee.stator.zeroInductor.i0', 'smeeQS.short.port_p.reference.gamma'] 26.161529593984596 26.171125955 25.435570571 Calling exit ...