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.SMPM_OpenCircuit.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.001808/0.001808, allocations: 118 kB / 18.45 MB, free: 4.566 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.00218/0.00218, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.426/1.426, allocations: 207.6 MB / 231.8 MB, free: 4.047 MB / 174.1 MB " [Timeout remaining time 178] 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.SMPM_OpenCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit",fmuType="me",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.001742/0.001742, allocations: 50.75 kB / 342.3 MB, free: 9.98 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09164/0.09338, allocations: 49.14 MB / 391.4 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03509/0.1285, allocations: 30.36 MB / 421.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01838/0.1468, allocations: 8.666 MB / 430.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005001/0.1519, allocations: 195 kB / 430.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01244/0.1643, allocations: 4.981 MB / 435.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009492/0.1738, allocations: 3.023 MB / 438.7 MB, free: 9.258 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004844/0.1786, allocations: 1.617 MB / 440.3 MB, free: 7.637 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01294/0.1916, allocations: 8.715 MB / 449 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01572/0.2073, allocations: 9.939 MB / 458.9 MB, free: 4.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007225/0.2145, allocations: 4.308 MB / 463.2 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2067/0.4212, allocations: 4.789 MB / 468 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003279/0.4245, allocations: 1.164 MB / 469.2 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005489/0.43, allocations: 1.524 MB / 470.7 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003653/0.4336, allocations: 2.42 MB / 473.1 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00788/0.4415, allocations: 4.669 MB / 477.8 MB, free: 16.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01617/0.4577, allocations: 15.77 MB / 493.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4577, allocations: 0 / 493.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4577, allocations: 0.75 kB / 493.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000395/0.4581, allocations: 3.625 kB / 493.6 MB, free: 10.73 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.02802/0.4861, allocations: 9.938 MB / 0.4917 GB, free: 4.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.4861, allocations: 10.56 kB / 0.4917 GB, free: 4.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003194/0.4893, allocations: 1.142 MB / 0.4928 GB, free: 3.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02793/0.5173, allocations: 5.308 MB / 0.498 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009899/0.5272, allocations: 4.721 MB / 0.5026 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005106/0.5277, allocations: 0.5298 MB / 0.5032 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002827/0.5305, allocations: 0.7066 MB / 0.5038 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03314/0.5636, allocations: 11.32 MB / 0.5149 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005371/0.5642, allocations: 23.7 kB / 0.5149 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002944/0.5671, allocations: 294.2 kB / 0.5152 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006328/0.5677, allocations: 451 kB / 0.5156 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02712/0.5949, allocations: 10.82 MB / 0.5262 GB, free: 6.285 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07359/0.6685, allocations: 37.68 MB / 0.563 GB, free: 196 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02416/0.6926, allocations: 27.77 MB / 0.5901 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004649/0.6973, allocations: 2.43 MB / 0.5925 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01457/0.7118, allocations: 7.926 MB / 0.6002 GB, free: 6.215 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.216e-05/0.7119, allocations: 56.56 kB / 0.6003 GB, free: 6.152 MB / 494.1 MB Notification: Performance of pre-optimization done (n=217): time 3.857e-06/0.7119, allocations: 0 / 0.6003 GB, free: 6.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=233): time 0.02206/0.7339, allocations: 10.43 MB / 0.6105 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002275/0.7362, allocations: 2.014 MB / 0.6124 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006257/0.7425, allocations: 3.83 MB / 0.6162 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003176/0.7428, allocations: 65.7 kB / 0.6162 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002832/0.7456, allocations: 3.677 MB / 0.6198 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009717/0.7466, allocations: 0.8657 MB / 0.6207 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001505/0.7481, allocations: 0.9575 MB / 0.6216 GB, free: 184 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.7482, allocations: 305.1 kB / 0.6219 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003128/0.7514, allocations: 1.899 MB / 0.6238 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005235/0.7566, allocations: 4.388 MB / 0.628 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008986/0.7656, allocations: 6.785 MB / 0.6347 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-05/0.7657, allocations: 27.94 kB / 0.6347 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of matching and sorting (n=627) (initialization): time 0.0135/0.7792, allocations: 6.982 MB / 0.6415 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.54e-05/0.7792, allocations: 44 kB / 0.6416 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000158/0.7794, allocations: 84.44 kB / 0.6416 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002182/0.7816, allocations: 0.7403 MB / 0.6424 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003991/0.7856, allocations: 1.124 MB / 0.6435 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008278/0.7939, allocations: 5.632 MB / 0.649 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004177/0.798, allocations: 319.4 kB / 0.6493 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000681/0.7987, allocations: 272 kB / 0.6495 GB, free: 2.062 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 393 * 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 (590): * Single equations (assignments): 587 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.1903/0.9891, allocations: 2.524 MB / 0.652 GB, free: 190.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/0.9903, allocations: 403.1 kB / 0.6524 GB, free: 190.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008101/0.9984, allocations: 4.251 MB / 0.6565 GB, free: 190.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.269e-05/0.9984, allocations: 24.38 kB / 0.6565 GB, free: 190.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/0.9984, allocations: 6.906 kB / 0.6566 GB, free: 190.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/0.9985, allocations: 11.86 kB / 0.6566 GB, free: 190.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02252/1.021, allocations: 14.25 MB / 0.6705 GB, free: 185.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.296e-05/1.021, allocations: 11.59 kB / 0.6705 GB, free: 185.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001843/1.023, allocations: 487.6 kB / 0.671 GB, free: 185.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001907/1.025, allocations: 0.685 MB / 0.6716 GB, free: 185.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000173/1.025, allocations: 72.86 kB / 0.6717 GB, free: 185.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007399/1.032, allocations: 7.505 MB / 0.679 GB, free: 180.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001372/1.034, allocations: 1.948 MB / 0.6809 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008634/1.042, allocations: 6.746 MB / 0.6875 GB, free: 175.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001966/1.044, allocations: 0.8131 MB / 0.6883 GB, free: 175.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005633/1.045, allocations: 62.67 kB / 0.6884 GB, free: 175.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001762/1.047, allocations: 163.7 kB / 0.6885 GB, free: 175.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004222/1.047, allocations: 220.2 kB / 0.6887 GB, free: 175.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/1.047, allocations: 94.42 kB / 0.6888 GB, free: 175.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003583/1.051, allocations: 2.511 MB / 0.6913 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.051, allocations: 0 / 0.6913 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004538/1.055, allocations: 1.29 MB / 0.6925 GB, free: 174.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 1 ($STATESET1.x) * 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 (241): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008325/1.064, allocations: 7.414 MB / 0.6998 GB, free: 168.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006803/1.07, allocations: 4.964 MB / 0.7046 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.07, allocations: 0 / 0.7046 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003138/1.074, allocations: 2.262 MB / 0.7068 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004858/1.078, allocations: 1.007 MB / 0.7078 GB, free: 161.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06035/1.139, allocations: 46.21 MB / 0.7529 GB, free: 112 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004088/1.143, allocations: 4.493 MB / 0.7573 GB, free: 107.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003601/1.146, allocations: 1.36 MB / 0.7587 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003245/1.15, allocations: 2.542 MB / 0.7611 GB, free: 103.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.533e-06/1.15, allocations: 0 / 0.7611 GB, free: 103.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3493/1.499, allocations: 104.8 MB / 0.8635 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 22/23.5, allocations: 0.9844 kB / 0.8635 GB, free: 179.6 MB / 0.5294 GB " [Timeout remaining time 636] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.077415057006874] Failed to read output from testmodel.py, exit status != 0: ['time', 'Vtr', 'Vqs'] 23.66376970699639 23.684004139 23.22218417 Calling exit ...