Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001784/0.001784, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002336/0.002336, allocations: 207.5 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 230.4 MB / 254 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_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.001889/0.001889, allocations: 59.91 kB / 373 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1052, allocations: 53.37 MB / 426.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.2417/0.3469, allocations: 31.11 MB / 457.5 MB, free: 7.352 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02187/0.3688, allocations: 8.919 MB / 466.4 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008258/0.377, allocations: 226.2 kB / 466.6 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01348/0.3905, allocations: 5.001 MB / 471.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01164/0.4022, allocations: 3.054 MB / 474.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005614/0.4078, allocations: 1.621 MB / 476.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01473/0.4225, allocations: 8.814 MB / 485.1 MB, free: 4.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01585/0.4383, allocations: 9.953 MB / 495.1 MB, free: 11.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008351/0.4467, allocations: 4.32 MB / 499.4 MB, free: 7.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008513/0.4552, allocations: 4.882 MB / 0.4925 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002811/0.458, allocations: 1.164 MB / 0.4936 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005007/0.463, allocations: 1.543 MB / 0.4951 GB, free: 20 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003457/0.4665, allocations: 2.423 MB / 0.4975 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008342/0.4748, allocations: 4.684 MB / 0.502 GB, free: 8.887 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02116/0.496, allocations: 15.87 MB / 0.5175 GB, free: 8.965 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.496, allocations: 0 / 0.5175 GB, free: 8.965 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.496, allocations: 4 kB / 0.5175 GB, free: 8.961 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004407/0.4964, allocations: 0 / 0.5175 GB, free: 8.961 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.02947/0.5259, allocations: 9.979 MB / 0.5273 GB, free: 14.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.526, allocations: 8.031 kB / 0.5273 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003286/0.5293, allocations: 1.141 MB / 0.5284 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02969/0.5589, allocations: 5.236 MB / 0.5335 GB, free: 8.469 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01116/0.5701, allocations: 5.138 MB / 0.5385 GB, free: 3.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005414/0.5706, allocations: 0.5377 MB / 0.5391 GB, free: 2.711 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002365/0.573, allocations: 0.703 MB / 0.5398 GB, free: 2.008 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02706/0.6001, allocations: 11.35 MB / 0.5508 GB, free: 6.574 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002541/0.6003, allocations: 27.83 kB / 0.5509 GB, free: 6.547 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001613/0.6019, allocations: 296 kB / 0.5511 GB, free: 6.258 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005711/0.6025, allocations: 454.9 kB / 0.5516 GB, free: 5.812 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02345/0.626, allocations: 10.86 MB / 0.5622 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06924/0.6952, allocations: 38.59 MB / 0.5999 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2526/0.9478, allocations: 27.99 MB / 0.6272 GB, free: 141.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005618/0.9535, allocations: 2.446 MB / 0.6296 GB, free: 141.4 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01673/0.9702, allocations: 8.462 MB / 0.6379 GB, free: 138 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.681e-05/0.9702, allocations: 56.66 kB / 0.6379 GB, free: 137.9 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=217): time 5.39e-06/0.9702, allocations: 1.062 kB / 0.6379 GB, free: 137.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=233): time 0.02266/0.9929, allocations: 10.48 MB / 0.6482 GB, free: 133.8 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001759/0.9947, allocations: 2.007 MB / 0.6501 GB, free: 131.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007578/1.002, allocations: 3.843 MB / 0.6539 GB, free: 130.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003745/1.003, allocations: 66.08 kB / 0.6539 GB, free: 130.4 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002128/1.005, allocations: 3.683 MB / 0.6575 GB, free: 128 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000916/1.006, allocations: 0.865 MB / 0.6584 GB, free: 127.3 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00201/1.008, allocations: 0.9706 MB / 0.6593 GB, free: 126.8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.873e-05/1.008, allocations: 302.3 kB / 0.6596 GB, free: 126.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003115/1.011, allocations: 1.897 MB / 0.6615 GB, free: 125.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004034/1.015, allocations: 4.395 MB / 0.6658 GB, free: 121.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007528/1.022, allocations: 6.8 MB / 0.6724 GB, free: 116.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001866/1.023, allocations: 29.22 kB / 0.6724 GB, free: 116.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01464/1.037, allocations: 6.992 MB / 0.6792 GB, free: 113.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001336/1.037, allocations: 42.03 kB / 0.6793 GB, free: 113.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001618/1.038, allocations: 90.81 kB / 0.6794 GB, free: 113.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00201/1.04, allocations: 0.7366 MB / 0.6801 GB, free: 113.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003481/1.043, allocations: 1.128 MB / 0.6812 GB, free: 113.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006268/1.049, allocations: 5.646 MB / 0.6867 GB, free: 109.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004321/1.054, allocations: 313 kB / 0.687 GB, free: 109.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000755/1.054, allocations: 279.6 kB / 0.6873 GB, free: 109.4 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.004263/1.059, allocations: 2.527 MB / 0.6897 GB, free: 107.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001172/1.06, allocations: 409.2 kB / 0.6901 GB, free: 106.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007691/1.067, allocations: 4.248 MB / 0.6943 GB, free: 102.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/1.067, allocations: 28.53 kB / 0.6943 GB, free: 102.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.971e-05/1.068, allocations: 8 kB / 0.6943 GB, free: 102.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-05/1.068, allocations: 11.95 kB / 0.6943 GB, free: 102.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02412/1.092, allocations: 14.31 MB / 0.7083 GB, free: 88.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-05/1.092, allocations: 13 kB / 0.7083 GB, free: 88.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/1.094, allocations: 487.2 kB / 0.7088 GB, free: 87.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002053/1.096, allocations: 0.689 MB / 0.7094 GB, free: 87 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003354/1.096, allocations: 71.98 kB / 0.7095 GB, free: 86.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007776/1.104, allocations: 7.512 MB / 0.7169 GB, free: 79.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001343/1.105, allocations: 1.95 MB / 0.7188 GB, free: 77.05 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009002/1.114, allocations: 6.762 MB / 0.7254 GB, free: 70 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001815/1.116, allocations: 0.8145 MB / 0.7262 GB, free: 69.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000953/1.117, allocations: 63.98 kB / 0.7262 GB, free: 69.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002246/1.119, allocations: 159.9 kB / 0.7264 GB, free: 68.95 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004272/1.119, allocations: 229.3 kB / 0.7266 GB, free: 68.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001971/1.12, allocations: 92.47 kB / 0.7267 GB, free: 68.63 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003909/1.124, allocations: 2.518 MB / 0.7291 GB, free: 66.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/1.124, allocations: 4 kB / 0.7291 GB, free: 66.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005322/1.129, allocations: 1.293 MB / 0.7304 GB, free: 64.8 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.009281/1.138, allocations: 7.453 MB / 0.7377 GB, free: 57.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007357/1.146, allocations: 4.969 MB / 0.7425 GB, free: 52.05 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/1.146, allocations: 4 kB / 0.7425 GB, free: 52.05 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003133/1.149, allocations: 2.269 MB / 0.7448 GB, free: 49.74 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005456/1.154, allocations: 0.9916 MB / 0.7457 GB, free: 48.79 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06127/1.215, allocations: 46.17 MB / 0.7908 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005275/1.221, allocations: 4.509 MB / 0.7952 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003942/1.225, allocations: 1.36 MB / 0.7965 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003762/1.228, allocations: 2.565 MB / 0.799 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of SimCode: time 8.82e-07/1.228, allocations: 3.938 kB / 0.799 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3791/1.608, allocations: 105.1 MB / 0.9017 GB, free: 126.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.77/23.38, allocations: 3.938 kB / 0.9017 GB, free: 126.1 MB / 0.545 GB " [Timeout remaining time 636] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.059854751918465] Failed to read output from testmodel.py, exit status != 0: ['time', 'Vtr', 'Vqs'] 23.547091557993554 23.566392371 23.066336266 Calling exit ...