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.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.001819/0.001819, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002192/0.002192, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.496/1.496, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.SMPM_OpenCircuit,fileNamePrefix="Modelica_4_1_0_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_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 47.92 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.102, allocations: 53.33 MB / 426.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.2473/0.3492, allocations: 31.1 MB / 457.4 MB, free: 7.527 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02404/0.3733, allocations: 8.924 MB / 466.4 MB, free: 1.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008168/0.3814, allocations: 225.3 kB / 466.6 MB, free: 1.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01455/0.396, allocations: 4.996 MB / 471.6 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0122/0.4082, allocations: 3.061 MB / 474.6 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005776/0.414, allocations: 1.633 MB / 476.3 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01567/0.4296, allocations: 8.815 MB / 485.1 MB, free: 4.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02023/0.4499, allocations: 9.953 MB / 495 MB, free: 12.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008957/0.4588, allocations: 4.328 MB / 499.4 MB, free: 7.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009055/0.4679, allocations: 4.878 MB / 0.4924 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003937/0.4718, allocations: 1.164 MB / 0.4936 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006002/0.4778, allocations: 1.546 MB / 0.4951 GB, free: 200 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004085/0.4819, allocations: 2.427 MB / 0.4974 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009889/0.4918, allocations: 4.669 MB / 0.502 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0247/0.5165, allocations: 15.89 MB / 0.5175 GB, free: 9.129 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5165, allocations: 0 / 0.5175 GB, free: 9.129 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5165, allocations: 0 / 0.5175 GB, free: 9.129 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004468/0.5169, allocations: 0 / 0.5175 GB, free: 9.129 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: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.03197/0.5489, allocations: 9.967 MB / 0.5273 GB, free: 15.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.549, allocations: 8.031 kB / 0.5273 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00473/0.5537, allocations: 1.157 MB / 0.5284 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.031/0.5847, allocations: 5.224 MB / 0.5335 GB, free: 8.645 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01237/0.5971, allocations: 5.15 MB / 0.5385 GB, free: 3.414 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006378/0.5977, allocations: 0.5299 MB / 0.539 GB, free: 2.883 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002872/0.6006, allocations: 0.7069 MB / 0.5397 GB, free: 2.176 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03/0.6306, allocations: 11.36 MB / 0.5508 GB, free: 6.734 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003968/0.631, allocations: 15.84 kB / 0.5508 GB, free: 6.719 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002351/0.6333, allocations: 304 kB / 0.5511 GB, free: 6.422 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006196/0.6339, allocations: 451 kB / 0.5516 GB, free: 5.98 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02604/0.66, allocations: 10.86 MB / 0.5622 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0773/0.7373, allocations: 38.59 MB / 0.5999 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2375/0.9748, allocations: 27.98 MB / 0.6272 GB, free: 141.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004419/0.9792, allocations: 2.444 MB / 0.6296 GB, free: 141.8 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01393/0.9931, allocations: 8.464 MB / 0.6378 GB, free: 138.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.9932, allocations: 56.91 kB / 0.6379 GB, free: 138.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=217): time 4.127e-06/0.9932, allocations: 0 / 0.6379 GB, free: 138.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=233): time 0.02165/1.015, allocations: 10.47 MB / 0.6481 GB, free: 134.1 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001801/1.017, allocations: 2.009 MB / 0.6501 GB, free: 132.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006376/1.023, allocations: 3.844 MB / 0.6538 GB, free: 130.9 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000434/1.023, allocations: 63.14 kB / 0.6539 GB, free: 130.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001857/1.025, allocations: 3.695 MB / 0.6575 GB, free: 128.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007444/1.026, allocations: 0.8595 MB / 0.6583 GB, free: 127.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00129/1.027, allocations: 0.9646 MB / 0.6593 GB, free: 127.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.435e-05/1.027, allocations: 312.1 kB / 0.6596 GB, free: 126.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002875/1.03, allocations: 1.891 MB / 0.6614 GB, free: 126.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003461/1.034, allocations: 4.401 MB / 0.6657 GB, free: 122.1 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006486/1.04, allocations: 6.793 MB / 0.6724 GB, free: 116.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.05e-05/1.04, allocations: 26.88 kB / 0.6724 GB, free: 116.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01124/1.052, allocations: 6.995 MB / 0.6792 GB, free: 113.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.505e-05/1.052, allocations: 46.72 kB / 0.6793 GB, free: 113.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001392/1.052, allocations: 84.78 kB / 0.6793 GB, free: 113.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001889/1.054, allocations: 0.7408 MB / 0.6801 GB, free: 113.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003538/1.057, allocations: 1.119 MB / 0.6812 GB, free: 113.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006325/1.063, allocations: 5.645 MB / 0.6867 GB, free: 110.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004892/1.068, allocations: 316.7 kB / 0.687 GB, free: 109.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000992/1.069, allocations: 279.8 kB / 0.6872 GB, free: 109.7 MB / 0.5137 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.004763/1.074, allocations: 2.523 MB / 0.6897 GB, free: 107.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001311/1.075, allocations: 405.4 kB / 0.6901 GB, free: 107.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006882/1.082, allocations: 4.249 MB / 0.6942 GB, free: 103 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/1.082, allocations: 24 kB / 0.6943 GB, free: 103 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/1.082, allocations: 10.53 kB / 0.6943 GB, free: 103 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.497e-05/1.082, allocations: 11.95 kB / 0.6943 GB, free: 103 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02034/1.103, allocations: 14.32 MB / 0.7083 GB, free: 88.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/1.103, allocations: 16.06 kB / 0.7083 GB, free: 88.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/1.104, allocations: 483.2 kB / 0.7087 GB, free: 88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00191/1.106, allocations: 0.6935 MB / 0.7094 GB, free: 87.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002109/1.107, allocations: 71.98 kB / 0.7095 GB, free: 87.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007792/1.114, allocations: 7.501 MB / 0.7168 GB, free: 79.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001351/1.116, allocations: 1.956 MB / 0.7187 GB, free: 77.35 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00905/1.125, allocations: 6.758 MB / 0.7253 GB, free: 70.31 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002109/1.127, allocations: 0.8145 MB / 0.7261 GB, free: 69.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008817/1.128, allocations: 64.05 kB / 0.7262 GB, free: 69.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001978/1.13, allocations: 159.8 kB / 0.7263 GB, free: 69.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000424/1.13, allocations: 229.3 kB / 0.7266 GB, free: 69.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/1.13, allocations: 99.97 kB / 0.7266 GB, free: 68.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003901/1.134, allocations: 2.518 MB / 0.7291 GB, free: 66.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/1.134, allocations: 0 / 0.7291 GB, free: 66.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006909/1.141, allocations: 1.297 MB / 0.7304 GB, free: 65.1 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.01031/1.151, allocations: 7.446 MB / 0.7376 GB, free: 57.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007598/1.159, allocations: 4.969 MB / 0.7425 GB, free: 52.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/1.159, allocations: 7.938 kB / 0.7425 GB, free: 52.35 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003661/1.163, allocations: 2.265 MB / 0.7447 GB, free: 50.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005714/1.168, allocations: 0.9961 MB / 0.7457 GB, free: 49.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0608/1.229, allocations: 46.18 MB / 0.7908 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005397/1.235, allocations: 4.509 MB / 0.7952 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003999/1.239, allocations: 1.364 MB / 0.7965 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00437/1.243, allocations: 2.561 MB / 0.799 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of SimCode: time 1.273e-06/1.243, allocations: 0 / 0.799 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3973/1.64, allocations: 105.1 MB / 0.9017 GB, free: 126.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.68/23.32, allocations: 17.73 kB / 0.9017 GB, free: 126.4 MB / 0.545 GB " [Timeout remaining time 637] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.004968930006726] Failed to read output from testmodel.py, exit status != 0: ['time', 'Vtr', 'Vqs'] 23.47861803100386 23.488807478 22.969796563 Calling exit ...