Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.001508/0.001508, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001821/0.001821, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.379/1.379, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,fileNamePrefix="Modelica_4_1_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_1_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.001417/0.001417, allocations: 51.92 kB / 378.6 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2192, allocations: 53.36 MB / 431.9 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04174/0.2609, allocations: 35.77 MB / 467.7 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02269/0.2836, allocations: 11.02 MB / 478.7 MB, free: 7.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006627/0.2902, allocations: 354.2 kB / 479 MB, free: 7.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01735/0.3076, allocations: 7.464 MB / 486.5 MB, free: 15.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01116/0.3187, allocations: 3.674 MB / 490.2 MB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005736/0.3245, allocations: 2.297 MB / 492.5 MB, free: 9.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01547/0.3399, allocations: 12.62 MB / 0.4933 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02194/0.3619, allocations: 15.76 MB / 0.5087 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01001/0.3719, allocations: 6.537 MB / 0.515 GB, free: 6.723 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01164/0.3835, allocations: 7.35 MB / 0.5222 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004206/0.3877, allocations: 1.824 MB / 0.524 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005847/0.3936, allocations: 2.261 MB / 0.5262 GB, free: 11.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00455/0.3981, allocations: 3.658 MB / 0.5298 GB, free: 7.594 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009458/0.4076, allocations: 5.552 MB / 0.5352 GB, free: 2.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2275/0.6351, allocations: 24.23 MB / 0.5589 GB, free: 38.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.6351, allocations: 4.094 kB / 0.5589 GB, free: 38.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6351, allocations: 0 / 0.5589 GB, free: 38.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005314/0.6357, allocations: 0.5312 kB / 0.5589 GB, free: 38.79 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.03789/0.6736, allocations: 14.43 MB / 0.573 GB, free: 32.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.6736, allocations: 9.594 kB / 0.573 GB, free: 32.07 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003189/0.6739, allocations: 344.8 kB / 0.5733 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005861/0.6798, allocations: 1.748 MB / 0.575 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02788/0.7077, allocations: 5.21 MB / 0.5801 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/0.722, allocations: 7.757 MB / 0.5877 GB, free: 23.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004375/0.7224, allocations: 0.8257 MB / 0.5885 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002804/0.7252, allocations: 1.096 MB / 0.5895 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02969/0.7549, allocations: 16.84 MB / 0.606 GB, free: 6.574 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002935/0.7552, allocations: 19.89 kB / 0.606 GB, free: 6.555 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001884/0.7571, allocations: 462.4 kB / 0.6065 GB, free: 6.113 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000372/0.7575, allocations: 0.5735 MB / 0.607 GB, free: 5.535 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02848/0.7859, allocations: 14.8 MB / 0.6215 GB, free: 6.727 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08667/0.8726, allocations: 49.48 MB / 0.6698 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01533/0.8879, allocations: 7.561 MB / 0.6772 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005032/0.893, allocations: 3.042 MB / 0.6801 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01767/0.9106, allocations: 8.685 MB / 0.6886 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.372e-05/0.9107, allocations: 65.56 kB / 0.6887 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=317): time 6.642e-06/0.9107, allocations: 0 / 0.6887 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of matching and sorting (n=407): time 0.05106/0.9618, allocations: 22.76 MB / 0.7109 GB, free: 11.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.289e-05/0.9619, allocations: 120.5 kB / 0.711 GB, free: 11.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007956/0.9698, allocations: 5.199 MB / 0.7161 GB, free: 6.332 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004628/0.9703, allocations: 97.7 kB / 0.7162 GB, free: 6.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004088/0.9744, allocations: 5.354 MB / 0.7214 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00154/0.9759, allocations: 1.476 MB / 0.7229 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002251/0.9782, allocations: 1.373 MB / 0.7242 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.9783, allocations: 301.1 kB / 0.7245 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005063/0.9834, allocations: 3.07 MB / 0.7275 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007872/0.9912, allocations: 5.948 MB / 0.7333 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01365/1.005, allocations: 9.484 MB / 0.7426 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.575e-05/1.005, allocations: 28 kB / 0.7426 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of matching and sorting (n=883) (initialization): time 0.213/1.218, allocations: 10.75 MB / 0.7531 GB, free: 203.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.557e-05/1.218, allocations: 49.88 kB / 0.7531 GB, free: 203.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001474/1.218, allocations: 92.97 kB / 0.7532 GB, free: 203.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004169/1.222, allocations: 1.617 MB / 0.7548 GB, free: 203.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005368/1.228, allocations: 1.532 MB / 0.7563 GB, free: 203.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01779/1.245, allocations: 18.59 MB / 0.7744 GB, free: 193.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005399/1.251, allocations: 430.3 kB / 0.7748 GB, free: 193.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008344/1.252, allocations: 367.2 kB / 0.7752 GB, free: 193.3 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.005233/1.257, allocations: 3.823 MB / 0.7789 GB, free: 191.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/1.258, allocations: 0.5575 MB / 0.7795 GB, free: 191.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/1.269, allocations: 7.363 MB / 0.7867 GB, free: 188.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005641/1.275, allocations: 4.216 MB / 0.7908 GB, free: 187 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.482e-05/1.275, allocations: 22.03 kB / 0.7908 GB, free: 187 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.859e-05/1.275, allocations: 25.25 kB / 0.7908 GB, free: 187 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02539/1.3, allocations: 16.24 MB / 0.8067 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/1.3, allocations: 11.61 kB / 0.8067 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002564/1.303, allocations: 0.6576 MB / 0.8073 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003455/1.306, allocations: 1.504 MB / 0.8088 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002864/1.306, allocations: 95.02 kB / 0.8089 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01721/1.324, allocations: 20.59 MB / 0.829 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.324, allocations: 8 kB / 0.829 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01375/1.337, allocations: 10.62 MB / 0.8394 GB, free: 141.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002337/1.34, allocations: 1.056 MB / 0.8404 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007435/1.341, allocations: 79.94 kB / 0.8405 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002452/1.343, allocations: 224.6 kB / 0.8407 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006641/1.344, allocations: 336.5 kB / 0.841 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002459/1.344, allocations: 132 kB / 0.8412 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00419/1.348, allocations: 3.443 MB / 0.8445 GB, free: 136.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.348, allocations: 0 / 0.8445 GB, free: 136.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006258/1.354, allocations: 1.933 MB / 0.8464 GB, free: 134.7 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.01337/1.368, allocations: 11.38 MB / 0.8575 GB, free: 123.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01146/1.379, allocations: 8.19 MB / 0.8655 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.379, allocations: 4 kB / 0.8655 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006369/1.386, allocations: 4.312 MB / 0.8697 GB, free: 110.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005367/1.391, allocations: 1.21 MB / 0.8709 GB, free: 109.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08627/1.477, allocations: 66.48 MB / 0.9358 GB, free: 39.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007646/1.485, allocations: 6.3 MB / 0.942 GB, free: 32.87 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004618/1.489, allocations: 1.895 MB / 0.9438 GB, free: 30.97 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004604/1.494, allocations: 4.147 MB / 0.9479 GB, free: 26.82 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/1.494, allocations: 0 / 0.9479 GB, free: 26.82 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3929/1.887, allocations: 160.9 MB / 1.105 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.09/24.97, allocations: 8.047 kB / 1.105 GB, free: 102.4 MB / 0.5762 GB " [Timeout remaining time 635] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_res.mat --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 28.141128786024638] 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'] 25.224195478018373 25.233294516 24.595832662 Calling exit ...