Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001798/0.001798, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002253/0.002253, allocations: 212 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 8.055 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,fileNamePrefix="Modelica_4_1_0-beta_om_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_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 72.75 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2567, allocations: 53.37 MB / 432 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03701/0.2937, allocations: 31.16 MB / 463.1 MB, free: 7.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01957/0.3132, allocations: 8.938 MB / 472.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005524/0.3188, allocations: 222.9 kB / 472.3 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01328/0.3321, allocations: 5.022 MB / 477.3 MB, free: 9.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01017/0.3422, allocations: 3.132 MB / 480.4 MB, free: 6.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005161/0.3474, allocations: 1.65 MB / 482.1 MB, free: 4.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01366/0.361, allocations: 8.881 MB / 491 MB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01592/0.377, allocations: 9.222 MB / 0.4885 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007738/0.3847, allocations: 4.351 MB / 0.4927 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00834/0.393, allocations: 4.901 MB / 0.4975 GB, free: 9.059 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003137/0.3962, allocations: 1.164 MB / 0.4986 GB, free: 7.895 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005685/0.4019, allocations: 1.562 MB / 0.5002 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004171/0.406, allocations: 2.419 MB / 0.5025 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009394/0.4154, allocations: 4.665 MB / 0.5071 GB, free: 15.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02401/0.4394, allocations: 15.9 MB / 0.5226 GB, free: 15.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.4394, allocations: 0 / 0.5226 GB, free: 15.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4394, allocations: 0 / 0.5226 GB, free: 15.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003323/0.4398, allocations: 4 kB / 0.5226 GB, free: 15.27 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: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.02991/0.4697, allocations: 9.888 MB / 0.5323 GB, free: 5.297 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.4697, allocations: 8.031 kB / 0.5323 GB, free: 5.289 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004153/0.4739, allocations: 1.141 MB / 0.5334 GB, free: 4.137 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.246/0.7199, allocations: 5.229 MB / 0.5385 GB, free: 91.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01159/0.7315, allocations: 5.149 MB / 0.5435 GB, free: 89.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004128/0.7319, allocations: 0.5271 MB / 0.544 GB, free: 88.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002671/0.7345, allocations: 0.7149 MB / 0.5447 GB, free: 88.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02526/0.7598, allocations: 11.37 MB / 0.5558 GB, free: 83.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002658/0.7601, allocations: 15.72 kB / 0.5558 GB, free: 83.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001605/0.7617, allocations: 301.6 kB / 0.5561 GB, free: 83.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003276/0.762, allocations: 448 kB / 0.5566 GB, free: 83.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01895/0.781, allocations: 10.87 MB / 0.5672 GB, free: 74.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05567/0.8366, allocations: 36.7 MB / 0.603 GB, free: 37.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01115/0.8478, allocations: 7.515 MB / 0.6103 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003577/0.8513, allocations: 2.44 MB / 0.6127 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/0.8626, allocations: 7.591 MB / 0.6201 GB, free: 21.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.8626, allocations: 56.56 kB / 0.6202 GB, free: 21.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 3.717e-06/0.8627, allocations: 0 / 0.6202 GB, free: 21.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01608/0.8787, allocations: 10.32 MB / 0.6303 GB, free: 10.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001463/0.8802, allocations: 1.906 MB / 0.6321 GB, free: 8.723 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004371/0.8846, allocations: 3.847 MB / 0.6359 GB, free: 4.848 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002413/0.8848, allocations: 63.11 kB / 0.6359 GB, free: 4.781 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00144/0.8863, allocations: 3.694 MB / 0.6396 GB, free: 1.086 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005175/0.8868, allocations: 0.8598 MB / 0.6404 GB, free: 240 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001332/0.8881, allocations: 0.9692 MB / 0.6413 GB, free: 15.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.8882, allocations: 301.1 kB / 0.6416 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003004/0.8912, allocations: 1.892 MB / 0.6435 GB, free: 13.05 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005251/0.8965, allocations: 4.396 MB / 0.6478 GB, free: 7.426 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009295/0.9058, allocations: 6.8 MB / 0.6544 GB, free: 15.42 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-05/0.9059, allocations: 24 kB / 0.6544 GB, free: 15.39 MB / 478.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01394/0.9198, allocations: 7.009 MB / 0.6613 GB, free: 8.367 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.807e-05/0.9199, allocations: 44 kB / 0.6613 GB, free: 8.324 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001841/0.9201, allocations: 87.98 kB / 0.6614 GB, free: 8.238 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002169/0.9222, allocations: 0.7341 MB / 0.6621 GB, free: 7.496 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004391/0.9266, allocations: 1.119 MB / 0.6632 GB, free: 6.375 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00831/0.9349, allocations: 5.556 MB / 0.6686 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003906/0.9388, allocations: 319.3 kB / 0.6689 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005813/0.9394, allocations: 276 kB / 0.6692 GB, free: 124 kB / 478.1 MB 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.004389/0.9438, allocations: 2.529 MB / 0.6717 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008868/0.9447, allocations: 401.5 kB / 0.6721 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008051/0.9527, allocations: 4.251 MB / 0.6762 GB, free: 8.902 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.479e-05/0.9528, allocations: 24 kB / 0.6762 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/0.9528, allocations: 12 kB / 0.6762 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.567e-05/0.9528, allocations: 11.95 kB / 0.6763 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02624/0.979, allocations: 14.01 MB / 0.6899 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.172e-05/0.9791, allocations: 16.25 kB / 0.69 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002028/0.9811, allocations: 483.2 kB / 0.6904 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002126/0.9832, allocations: 0.6817 MB / 0.6911 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000288/0.9835, allocations: 75.97 kB / 0.6912 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01031/0.9938, allocations: 7.288 MB / 0.6983 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002047/0.9959, allocations: 1.854 MB / 0.7001 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01165/1.008, allocations: 6.754 MB / 0.7067 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002169/1.01, allocations: 0.7587 MB / 0.7074 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006639/1.01, allocations: 63.98 kB / 0.7075 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001997/1.012, allocations: 163.9 kB / 0.7076 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005643/1.013, allocations: 237.3 kB / 0.7079 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002277/1.013, allocations: 88.36 kB / 0.7079 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004743/1.018, allocations: 2.529 MB / 0.7104 GB, free: 5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.5e-07/1.018, allocations: 0 / 0.7104 GB, free: 5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005779/1.024, allocations: 1.297 MB / 0.7117 GB, free: 3.703 MB / 0.5137 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.01225/1.036, allocations: 7.45 MB / 0.719 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009008/1.045, allocations: 4.819 MB / 0.7237 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/1.045, allocations: 0 / 0.7237 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004146/1.049, allocations: 2.186 MB / 0.7258 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005148/1.054, allocations: 0.9964 MB / 0.7268 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2936/1.348, allocations: 46.26 MB / 0.7719 GB, free: 175 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004132/1.352, allocations: 4.504 MB / 0.7763 GB, free: 173 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003453/1.355, allocations: 1.371 MB / 0.7777 GB, free: 172.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002755/1.358, allocations: 2.553 MB / 0.7802 GB, free: 169.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.292e-06/1.358, allocations: 0 / 0.7802 GB, free: 169.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1542/1.512, allocations: 109.3 MB / 0.8869 GB, free: 61.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.38/23.9, allocations: 8.062 kB / 0.8869 GB, free: 61.07 MB / 0.545 GB " [Timeout remaining time 636] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.475081501994282] Failed to read output from testmodel.py, exit status != 0: ['time', 'Vtr', 'Vqs'] 24.060798100661486 24.071467307 23.629245525 Calling exit ...