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.001591/0.001591, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.001914/0.001914, allocations: 205 kB / 21.45 MB, free: 1.629 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.533/1.533, allocations: 230.5 MB / 254.8 MB, free: 15.12 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.002028/0.002028, allocations: 67.83 kB / 373.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1127, allocations: 53.32 MB / 427 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.2439/0.3566, allocations: 31.11 MB / 458.1 MB, free: 7.602 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02236/0.379, allocations: 8.921 MB / 467.1 MB, free: 1.164 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00692/0.3859, allocations: 222.3 kB / 467.3 MB, free: 1.098 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01378/0.3997, allocations: 4.998 MB / 472.3 MB, free: 14.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01165/0.4114, allocations: 3.054 MB / 475.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005763/0.4171, allocations: 1.642 MB / 477 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01404/0.4312, allocations: 8.806 MB / 485.8 MB, free: 4.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01774/0.4489, allocations: 9.957 MB / 495.7 MB, free: 12.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008537/0.4574, allocations: 4.316 MB / 0.4883 GB, free: 7.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008828/0.4663, allocations: 4.886 MB / 0.4931 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003184/0.4694, allocations: 1.164 MB / 0.4942 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005379/0.4748, allocations: 1.55 MB / 0.4958 GB, free: 280 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003741/0.4786, allocations: 2.419 MB / 0.4981 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009027/0.4876, allocations: 4.68 MB / 0.5027 GB, free: 9.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02368/0.5113, allocations: 15.88 MB / 0.5182 GB, free: 9.219 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.5113, allocations: 4 kB / 0.5182 GB, free: 9.215 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.5113, allocations: 0 / 0.5182 GB, free: 9.215 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005281/0.5118, allocations: 0 / 0.5182 GB, free: 9.215 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.03273/0.5445, allocations: 9.975 MB / 0.5279 GB, free: 15.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.5446, allocations: 8.031 kB / 0.5279 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004056/0.5486, allocations: 1.149 MB / 0.5291 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0314/0.58, allocations: 5.228 MB / 0.5342 GB, free: 8.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01243/0.5925, allocations: 5.146 MB / 0.5392 GB, free: 3.504 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006727/0.5931, allocations: 0.5376 MB / 0.5397 GB, free: 2.965 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003097/0.5962, allocations: 0.7108 MB / 0.5404 GB, free: 2.254 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03036/0.6266, allocations: 11.36 MB / 0.5515 GB, free: 6.816 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003474/0.6269, allocations: 19.89 kB / 0.5515 GB, free: 6.797 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002714/0.6297, allocations: 296 kB / 0.5518 GB, free: 6.508 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005939/0.6303, allocations: 447 kB / 0.5522 GB, free: 6.07 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02631/0.6566, allocations: 10.87 MB / 0.5629 GB, free: 11.19 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07384/0.7304, allocations: 38.59 MB / 0.6005 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2394/0.9698, allocations: 27.99 MB / 0.6279 GB, free: 141.9 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004395/0.9742, allocations: 2.446 MB / 0.6303 GB, free: 141.9 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01466/0.9889, allocations: 8.456 MB / 0.6385 GB, free: 138.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.9889, allocations: 58.55 kB / 0.6386 GB, free: 138.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=217): time 4.538e-06/0.9889, allocations: 0 / 0.6386 GB, free: 138.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=233): time 0.02075/1.01, allocations: 10.48 MB / 0.6488 GB, free: 134.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001784/1.011, allocations: 2.011 MB / 0.6508 GB, free: 132.4 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006104/1.018, allocations: 3.838 MB / 0.6545 GB, free: 131 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004318/1.018, allocations: 71.02 kB / 0.6546 GB, free: 130.9 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002344/1.02, allocations: 3.687 MB / 0.6582 GB, free: 128.4 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008948/1.021, allocations: 0.8673 MB / 0.659 GB, free: 127.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001345/1.023, allocations: 0.97 MB / 0.66 GB, free: 127.3 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.582e-05/1.023, allocations: 301.1 kB / 0.6603 GB, free: 127 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002738/1.025, allocations: 1.899 MB / 0.6621 GB, free: 126.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003656/1.029, allocations: 4.392 MB / 0.6664 GB, free: 122.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007249/1.036, allocations: 6.796 MB / 0.673 GB, free: 116.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-05/1.036, allocations: 25.91 kB / 0.6731 GB, free: 116.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01074/1.047, allocations: 6.998 MB / 0.6799 GB, free: 113.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.939e-05/1.047, allocations: 43 kB / 0.6799 GB, free: 113.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/1.047, allocations: 89.31 kB / 0.68 GB, free: 113.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001849/1.049, allocations: 0.7376 MB / 0.6807 GB, free: 113.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003489/1.053, allocations: 1.126 MB / 0.6818 GB, free: 113.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006177/1.059, allocations: 5.635 MB / 0.6874 GB, free: 110.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004205/1.063, allocations: 321.9 kB / 0.6877 GB, free: 110 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006937/1.064, allocations: 275.7 kB / 0.6879 GB, free: 109.8 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.003778/1.067, allocations: 2.516 MB / 0.6904 GB, free: 107.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009602/1.068, allocations: 413.2 kB / 0.6908 GB, free: 107.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006671/1.075, allocations: 4.255 MB / 0.6949 GB, free: 103.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/1.075, allocations: 24 kB / 0.695 GB, free: 103.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/1.075, allocations: 10.44 kB / 0.695 GB, free: 103.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.488e-05/1.075, allocations: 15.95 kB / 0.695 GB, free: 103.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02154/1.097, allocations: 14.31 MB / 0.709 GB, free: 88.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/1.097, allocations: 12 kB / 0.709 GB, free: 88.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/1.098, allocations: 483.2 kB / 0.7094 GB, free: 88.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001939/1.1, allocations: 0.6901 MB / 0.7101 GB, free: 87.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003178/1.101, allocations: 75.97 kB / 0.7102 GB, free: 87.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007456/1.108, allocations: 7.504 MB / 0.7175 GB, free: 79.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001391/1.11, allocations: 1.958 MB / 0.7194 GB, free: 77.44 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009327/1.119, allocations: 6.758 MB / 0.726 GB, free: 70.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00232/1.121, allocations: 0.8185 MB / 0.7268 GB, free: 69.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001097/1.122, allocations: 63.98 kB / 0.7269 GB, free: 69.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002294/1.125, allocations: 163.9 kB / 0.727 GB, free: 69.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004094/1.125, allocations: 217.4 kB / 0.7272 GB, free: 69.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/1.125, allocations: 95.97 kB / 0.7273 GB, free: 69.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003657/1.129, allocations: 2.522 MB / 0.7298 GB, free: 66.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.1e-07/1.129, allocations: 0 / 0.7298 GB, free: 66.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006578/1.135, allocations: 1.293 MB / 0.731 GB, free: 65.21 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.009436/1.145, allocations: 7.457 MB / 0.7383 GB, free: 57.47 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007116/1.152, allocations: 4.973 MB / 0.7432 GB, free: 52.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.449e-05/1.152, allocations: 0 / 0.7432 GB, free: 52.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003434/1.155, allocations: 2.272 MB / 0.7454 GB, free: 50.14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006616/1.162, allocations: 0.9962 MB / 0.7464 GB, free: 49.19 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07564/1.238, allocations: 46.17 MB / 0.7915 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008792/1.246, allocations: 4.505 MB / 0.7959 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00494/1.251, allocations: 1.368 MB / 0.7972 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005286/1.257, allocations: 2.557 MB / 0.7997 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of SimCode: time 1.523e-06/1.257, allocations: 0 / 0.7997 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4294/1.686, allocations: 105.2 MB / 0.9024 GB, free: 126.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.3/23.99, allocations: 5.734 kB / 0.9024 GB, free: 126.4 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.676299606915563] Failed to read output from testmodel.py, exit status != 0: ['time', 'Vtr', 'Vqs'] 24.149810656439513 24.164568264 23.649816071 Calling exit ...