Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.006325/0.006325, allocations: 112.5 kB / 21.97 MB, free: 5.25 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.001659/0.001659, allocations: 206.4 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 60.44 kB / 348 MB, free: 9.965 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2516, allocations: 49.15 MB / 397.2 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.0451/0.2967, allocations: 41.52 MB / 438.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02959/0.3263, allocations: 11.12 MB / 449.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01116/0.3374, allocations: 310.3 kB / 450.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0217/0.3591, allocations: 8.011 MB / 458.1 MB, free: 6.266 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01506/0.3742, allocations: 3.791 MB / 461.9 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007559/0.3817, allocations: 2.378 MB / 464.3 MB, free: 72 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01873/0.4005, allocations: 12.74 MB / 477.1 MB, free: 3.277 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0263/0.4268, allocations: 15.8 MB / 492.9 MB, free: 3.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01088/0.4376, allocations: 6.607 MB / 499.5 MB, free: 12.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01271/0.4503, allocations: 7.357 MB / 0.4949 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005293/0.4556, allocations: 1.844 MB / 0.4967 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007032/0.4627, allocations: 2.277 MB / 0.499 GB, free: 1.203 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005374/0.468, allocations: 3.736 MB / 0.5026 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01258/0.4806, allocations: 7.194 MB / 0.5096 GB, free: 6.234 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0312/0.5118, allocations: 24.25 MB / 0.5333 GB, free: 13.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5118, allocations: 0 / 0.5333 GB, free: 13.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5118, allocations: 0 / 0.5333 GB, free: 13.91 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000647/0.5125, allocations: 0 / 0.5333 GB, free: 13.91 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3112 * Number of variables: 3112 Notification: Performance of Generate backend data structure: time 0.04502/0.5575, allocations: 14.64 MB / 0.5476 GB, free: 15.16 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.5576, allocations: 19.98 kB / 0.5476 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003697/0.5579, allocations: 345.2 kB / 0.548 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005825/0.5637, allocations: 1.779 MB / 0.5497 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.036/0.5998, allocations: 6.231 MB / 0.5558 GB, free: 6.766 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.193/0.7927, allocations: 7.086 MB / 0.5627 GB, free: 132.1 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009956/0.7937, allocations: 0.8461 MB / 0.5635 GB, free: 132.1 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003767/0.7975, allocations: 1.11 MB / 0.5646 GB, free: 132.1 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04032/0.8378, allocations: 17.18 MB / 0.5814 GB, free: 125.9 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004182/0.8382, allocations: 22.73 kB / 0.5814 GB, free: 125.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002922/0.8412, allocations: 473.5 kB / 0.5819 GB, free: 125.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005175/0.8417, allocations: 0.6147 MB / 0.5825 GB, free: 125.4 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02865/0.8703, allocations: 15.57 MB / 0.5977 GB, free: 117.7 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08534/0.9557, allocations: 55.15 MB / 0.6515 GB, free: 62.04 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01362/0.9693, allocations: 7.583 MB / 0.6589 GB, free: 55.07 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00436/0.9737, allocations: 3.035 MB / 0.6619 GB, free: 52.03 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01456/0.9882, allocations: 9.451 MB / 0.6711 GB, free: 42.66 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.9883, allocations: 72.91 kB / 0.6712 GB, free: 42.58 MB / 478.1 MB Notification: Performance of pre-optimization done (n=317): time 5.089e-06/0.9883, allocations: 0 / 0.6712 GB, free: 42.58 MB / 478.1 MB Notification: Performance of matching and sorting (n=407): time 0.04206/1.03, allocations: 22.82 MB / 0.6935 GB, free: 19.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/1.03, allocations: 124.5 kB / 0.6936 GB, free: 19.55 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006197/1.037, allocations: 5.413 MB / 0.6989 GB, free: 14.16 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005252/1.037, allocations: 93.7 kB / 0.699 GB, free: 14.06 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002176/1.039, allocations: 5.527 MB / 0.7044 GB, free: 8.531 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001075/1.04, allocations: 1.494 MB / 0.7058 GB, free: 7.059 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001701/1.042, allocations: 1.441 MB / 0.7072 GB, free: 5.609 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.2e-05/1.042, allocations: 301.1 kB / 0.7075 GB, free: 5.312 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003876/1.046, allocations: 3.188 MB / 0.7106 GB, free: 2.121 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006703/1.053, allocations: 6.26 MB / 0.7167 GB, free: 10.42 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01344/1.066, allocations: 9.923 MB / 0.7264 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.148e-05/1.066, allocations: 31.94 kB / 0.7265 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=934) (initialization): time 0.02091/1.087, allocations: 11.19 MB / 0.7374 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/1.087, allocations: 48 kB / 0.7374 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001761/1.087, allocations: 107.9 kB / 0.7375 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004526/1.092, allocations: 1.64 MB / 0.7391 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005902/1.098, allocations: 1.63 MB / 0.7407 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2192/1.317, allocations: 18.82 MB / 0.7591 GB, free: 155.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005929/1.323, allocations: 472.7 kB / 0.7596 GB, free: 155.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009998/1.324, allocations: 385.9 kB / 0.7599 GB, free: 155.8 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * 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 (843): * Single equations (assignments): 835 * 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,62.5%), (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.006507/1.33, allocations: 3.908 MB / 0.7638 GB, free: 155.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001295/1.332, allocations: 0.5602 MB / 0.7643 GB, free: 155.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01369/1.345, allocations: 7.385 MB / 0.7715 GB, free: 152.6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006822/1.352, allocations: 4.212 MB / 0.7756 GB, free: 150.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.695e-05/1.352, allocations: 20.12 kB / 0.7756 GB, free: 150.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.186e-05/1.352, allocations: 22.47 kB / 0.7757 GB, free: 150.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02702/1.379, allocations: 17.17 MB / 0.7924 GB, free: 143.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.745e-05/1.379, allocations: 7.844 kB / 0.7924 GB, free: 143.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002638/1.382, allocations: 0.6588 MB / 0.7931 GB, free: 143.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003683/1.386, allocations: 1.509 MB / 0.7946 GB, free: 143.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003953/1.386, allocations: 90.75 kB / 0.7946 GB, free: 143.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01935/1.405, allocations: 20.85 MB / 0.815 GB, free: 128.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.405, allocations: 7.688 kB / 0.815 GB, free: 128.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01484/1.42, allocations: 10.63 MB / 0.8254 GB, free: 120.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002782/1.423, allocations: 1.079 MB / 0.8264 GB, free: 120.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008248/1.424, allocations: 79.94 kB / 0.8265 GB, free: 120 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002569/1.426, allocations: 234 kB / 0.8267 GB, free: 119.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007186/1.427, allocations: 333.5 kB / 0.8271 GB, free: 119.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002465/1.427, allocations: 115.1 kB / 0.8272 GB, free: 119.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004574/1.432, allocations: 3.579 MB / 0.8307 GB, free: 115.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/1.432, allocations: 0 / 0.8307 GB, free: 115.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006791/1.439, allocations: 1.982 MB / 0.8326 GB, free: 113.8 MB / 0.5137 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.01451/1.453, allocations: 11.37 MB / 0.8437 GB, free: 102.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01276/1.466, allocations: 8.401 MB / 0.8519 GB, free: 93.85 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/1.466, allocations: 4.125 kB / 0.8519 GB, free: 93.85 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006765/1.473, allocations: 4.321 MB / 0.8561 GB, free: 89.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007221/1.48, allocations: 1.204 MB / 0.8573 GB, free: 88.24 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1085/1.589, allocations: 68.64 MB / 0.9243 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009501/1.598, allocations: 6.805 MB / 0.931 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005975/1.604, allocations: 1.994 MB / 0.9329 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00569/1.61, allocations: 4.205 MB / 0.937 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of SimCode: time 1.382e-06/1.61, allocations: 0 / 0.937 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4629/2.073, allocations: 162.7 MB / 1.096 GB, free: 67.96 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.96/27.03, allocations: 12 kB / 1.096 GB, free: 67.95 MB / 0.5294 GB " [Timeout remaining time 633] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_fmu --startTime=0 --stopTime=30 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 32.053132934030145] Failed to read output from testmodel.py, exit status != 0: ['time', 'Ptr', 'Pqs', 'smee.excitation.electroMagneticConverter.Phi.re', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smee.stator.strayReluctance.port_p.Phi.im', 'smee.stator.strayReluctance.port_p.Phi.re', 'smeeQS.short.port_p.reference.gamma'] 27.290170950989705 27.30593786 26.790639826 Calling exit ...