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.00149/0.00149, allocations: 108.8 kB / 19.16 MB, free: 3.871 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.001586/0.001586, allocations: 202.3 kB / 22.12 MB, free: 0.9297 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.345/1.345, allocations: 207.6 MB / 232.5 MB, free: 3.938 MB / 174.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.001696/0.001696, allocations: 59.92 kB / 343 MB, free: 9.961 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08719/0.08888, allocations: 49.12 MB / 392.2 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04448/0.1334, allocations: 41.44 MB / 433.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02371/0.1571, allocations: 11.11 MB / 444.7 MB, free: 3.922 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008662/0.1657, allocations: 310.3 kB / 445 MB, free: 3.617 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01905/0.1848, allocations: 7.987 MB / 453 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0123/0.1971, allocations: 3.721 MB / 456.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007224/0.2043, allocations: 2.327 MB / 459 MB, free: 5.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1953/0.3996, allocations: 12.65 MB / 471.7 MB, free: 7.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02721/0.4268, allocations: 17.88 MB / 489.6 MB, free: 5.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01032/0.4371, allocations: 6.58 MB / 496.2 MB, free: 2.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01336/0.4504, allocations: 7.642 MB / 0.492 GB, free: 0 / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006571/0.457, allocations: 1.93 MB / 0.4939 GB, free: 0 / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01554/0.4726, allocations: 3.022 MB / 0.4968 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006632/0.4792, allocations: 3.736 MB / 0.5005 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01291/0.4921, allocations: 7.19 MB / 0.5075 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03272/0.5248, allocations: 24.25 MB / 0.5312 GB, free: 12.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/0.5248, allocations: 0 / 0.5312 GB, free: 12.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.5248, allocations: 0 / 0.5312 GB, free: 12.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0008037/0.5256, allocations: 0 / 0.5312 GB, free: 12.8 MB / 430.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.04249/0.5681, allocations: 14.72 MB / 0.5455 GB, free: 14.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.5682, allocations: 8.031 kB / 0.5456 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000337/0.5685, allocations: 341.2 kB / 0.5459 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004871/0.5734, allocations: 1.788 MB / 0.5476 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03359/0.607, allocations: 6.229 MB / 0.5537 GB, free: 5.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01585/0.6228, allocations: 7.12 MB / 0.5607 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001053/0.6239, allocations: 0.8445 MB / 0.5615 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004181/0.628, allocations: 1.109 MB / 0.5626 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04125/0.6693, allocations: 17.18 MB / 0.5794 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003951/0.6697, allocations: 19.09 kB / 0.5794 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002849/0.6725, allocations: 473.8 kB / 0.5798 GB, free: 11.28 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006508/0.6732, allocations: 0.6091 MB / 0.5804 GB, free: 10.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03208/0.7053, allocations: 15.57 MB / 0.5956 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09752/0.8028, allocations: 58.06 MB / 0.6523 GB, free: 136 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3349/1.138, allocations: 20.52 MB / 0.6724 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005323/1.143, allocations: 3.043 MB / 0.6753 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01502/1.158, allocations: 9.969 MB / 0.6851 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/1.158, allocations: 65.44 kB / 0.6851 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=317): time 4.719e-06/1.158, allocations: 3.656 kB / 0.6851 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=407): time 0.04416/1.202, allocations: 23.41 MB / 0.708 GB, free: 152.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/1.202, allocations: 119.5 kB / 0.7081 GB, free: 152 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006631/1.209, allocations: 5.424 MB / 0.7134 GB, free: 149.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005642/1.21, allocations: 97.3 kB / 0.7135 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002177/1.212, allocations: 5.528 MB / 0.7189 GB, free: 145.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001155/1.213, allocations: 1.488 MB / 0.7204 GB, free: 144 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001832/1.215, allocations: 1.446 MB / 0.7218 GB, free: 142.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.035e-05/1.215, allocations: 301.1 kB / 0.7221 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004107/1.219, allocations: 3.176 MB / 0.7252 GB, free: 139.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005257/1.224, allocations: 6.259 MB / 0.7313 GB, free: 131.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009503/1.234, allocations: 9.927 MB / 0.741 GB, free: 120.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.262e-05/1.234, allocations: 32 kB / 0.741 GB, free: 120.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=934) (initialization): time 0.01808/1.252, allocations: 11.35 MB / 0.7521 GB, free: 108.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.703e-05/1.252, allocations: 52.06 kB / 0.7521 GB, free: 108.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001189/1.252, allocations: 107.9 kB / 0.7522 GB, free: 108.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003782/1.256, allocations: 1.632 MB / 0.7538 GB, free: 107 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005166/1.261, allocations: 1.639 MB / 0.7554 GB, free: 105.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01761/1.278, allocations: 19.35 MB / 0.7743 GB, free: 85.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005939/1.284, allocations: 475.3 kB / 0.7748 GB, free: 84.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001054/1.285, allocations: 379.9 kB / 0.7751 GB, free: 84.52 MB / 0.5294 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.005483/1.291, allocations: 3.916 MB / 0.779 GB, free: 80.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001377/1.292, allocations: 0.5589 MB / 0.7795 GB, free: 80.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/1.304, allocations: 7.535 MB / 0.7869 GB, free: 72.37 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005926/1.31, allocations: 4.21 MB / 0.791 GB, free: 68.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-05/1.31, allocations: 20 kB / 0.791 GB, free: 68.08 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.298e-05/1.31, allocations: 19.92 kB / 0.791 GB, free: 68.06 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02564/1.336, allocations: 17.29 MB / 0.8079 GB, free: 50.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/1.336, allocations: 4.625 kB / 0.8079 GB, free: 50.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002591/1.338, allocations: 0.6592 MB / 0.8085 GB, free: 49.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003608/1.342, allocations: 1.517 MB / 0.81 GB, free: 48.44 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00044/1.342, allocations: 87.98 kB / 0.8101 GB, free: 48.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01793/1.36, allocations: 21.57 MB / 0.8312 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/1.36, allocations: 8.062 kB / 0.8312 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01466/1.375, allocations: 10.78 MB / 0.8417 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002469/1.377, allocations: 1.134 MB / 0.8428 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008955/1.378, allocations: 79.98 kB / 0.8429 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002654/1.381, allocations: 239.7 kB / 0.8431 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007262/1.382, allocations: 314.8 kB / 0.8434 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002377/1.382, allocations: 120 kB / 0.8435 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004683/1.387, allocations: 3.579 MB / 0.847 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/1.387, allocations: 0 / 0.847 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00755/1.394, allocations: 1.976 MB / 0.849 GB, free: 7.43 MB / 0.5294 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.2112/1.605, allocations: 11.5 MB / 0.8602 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01459/1.62, allocations: 8.478 MB / 0.8685 GB, free: 161.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/1.62, allocations: 1.469 kB / 0.8685 GB, free: 161.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007226/1.627, allocations: 4.319 MB / 0.8727 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006092/1.633, allocations: 1.21 MB / 0.8739 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09562/1.729, allocations: 68.82 MB / 0.9411 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007265/1.736, allocations: 6.809 MB / 0.9477 GB, free: 105.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004872/1.741, allocations: 1.998 MB / 0.9497 GB, free: 103.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004962/1.746, allocations: 4.197 MB / 0.9538 GB, free: 99.48 MB / 0.5294 GB Notification: Performance of SimCode: time 1.793e-06/1.746, allocations: 0 / 0.9538 GB, free: 99.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4039/2.15, allocations: 156.5 MB / 1.107 GB, free: 161.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.74/23.89, allocations: 7.562 kB / 1.107 GB, free: 161.2 MB / 0.545 GB " [Timeout remaining time 636] (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: 27.1217262489954] 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'] 24.112223007017747 24.126421418 23.598308727 Calling exit ...