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.001851/0.001851, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.002515/0.002515, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.453/1.453, allocations: 230.5 MB / 254.7 MB, free: 15 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.001857/0.001857, allocations: 67.89 kB / 373.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1084, allocations: 53.31 MB / 426.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.2475/0.356, allocations: 31.1 MB / 458 MB, free: 7.641 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02457/0.3805, allocations: 8.913 MB / 466.9 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009147/0.3897, allocations: 190.2 kB / 467.1 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01467/0.4043, allocations: 5.01 MB / 472.1 MB, free: 14.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01299/0.4173, allocations: 3.051 MB / 475.2 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006029/0.4234, allocations: 1.64 MB / 476.8 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0158/0.4392, allocations: 8.804 MB / 485.6 MB, free: 4.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02193/0.4611, allocations: 9.952 MB / 495.6 MB, free: 12.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009777/0.4709, allocations: 4.258 MB / 499.8 MB, free: 8.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01035/0.4812, allocations: 4.882 MB / 0.4929 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004194/0.4854, allocations: 1.164 MB / 0.494 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006297/0.4917, allocations: 1.539 MB / 0.4955 GB, free: 464 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004829/0.4965, allocations: 2.423 MB / 0.4979 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01087/0.5074, allocations: 4.68 MB / 0.5025 GB, free: 9.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02774/0.5351, allocations: 15.87 MB / 0.518 GB, free: 9.398 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.5352, allocations: 3.938 kB / 0.518 GB, free: 9.395 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5352, allocations: 4 kB / 0.518 GB, free: 9.391 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005148/0.5357, allocations: 0 / 0.518 GB, free: 9.391 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.03582/0.5715, allocations: 9.979 MB / 0.5277 GB, free: 15.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.227e-05/0.5716, allocations: 8.031 kB / 0.5277 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00559/0.5771, allocations: 1.141 MB / 0.5288 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03116/0.6083, allocations: 5.233 MB / 0.5339 GB, free: 8.902 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01475/0.623, allocations: 5.146 MB / 0.539 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006482/0.6237, allocations: 0.5338 MB / 0.5395 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003798/0.6275, allocations: 0.703 MB / 0.5402 GB, free: 2.438 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03596/0.6635, allocations: 11.35 MB / 0.5513 GB, free: 7.004 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003604/0.6638, allocations: 23.89 kB / 0.5513 GB, free: 6.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002813/0.6666, allocations: 296 kB / 0.5516 GB, free: 6.691 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005989/0.6672, allocations: 451 kB / 0.552 GB, free: 6.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02676/0.694, allocations: 10.87 MB / 0.5626 GB, free: 11.37 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07855/0.7725, allocations: 38.59 MB / 0.6003 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2582/1.031, allocations: 27.98 MB / 0.6276 GB, free: 142.1 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005072/1.036, allocations: 2.448 MB / 0.63 GB, free: 142.1 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01746/1.053, allocations: 8.456 MB / 0.6383 GB, free: 138.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/1.053, allocations: 60.16 kB / 0.6383 GB, free: 138.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=217): time 4.959e-06/1.053, allocations: 3.938 kB / 0.6383 GB, free: 138.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=233): time 0.01971/1.073, allocations: 10.47 MB / 0.6486 GB, free: 134.4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001635/1.075, allocations: 2.008 MB / 0.6505 GB, free: 132.6 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005847/1.081, allocations: 3.845 MB / 0.6543 GB, free: 131.1 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003535/1.081, allocations: 62.83 kB / 0.6543 GB, free: 131.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001868/1.083, allocations: 3.69 MB / 0.6579 GB, free: 128.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007161/1.083, allocations: 0.8629 MB / 0.6588 GB, free: 128 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001229/1.085, allocations: 0.9738 MB / 0.6597 GB, free: 127.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.051e-05/1.085, allocations: 302.2 kB / 0.66 GB, free: 127.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002527/1.087, allocations: 1.894 MB / 0.6619 GB, free: 126.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003089/1.09, allocations: 4.397 MB / 0.6662 GB, free: 122.4 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00597/1.096, allocations: 6.798 MB / 0.6728 GB, free: 116.9 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.7e-05/1.096, allocations: 27.44 kB / 0.6728 GB, free: 116.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01008/1.106, allocations: 6.999 MB / 0.6797 GB, free: 114 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.598e-05/1.107, allocations: 43.12 kB / 0.6797 GB, free: 114 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/1.107, allocations: 85.69 kB / 0.6798 GB, free: 114 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001701/1.108, allocations: 0.7331 MB / 0.6805 GB, free: 113.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003518/1.112, allocations: 1.131 MB / 0.6816 GB, free: 113.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005761/1.118, allocations: 5.647 MB / 0.6871 GB, free: 110.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004261/1.122, allocations: 308.8 kB / 0.6874 GB, free: 110.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005769/1.122, allocations: 275.6 kB / 0.6877 GB, free: 110 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.003889/1.126, allocations: 2.526 MB / 0.6902 GB, free: 107.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009208/1.127, allocations: 409.4 kB / 0.6905 GB, free: 107.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006075/1.133, allocations: 4.254 MB / 0.6947 GB, free: 103.4 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/1.133, allocations: 24 kB / 0.6947 GB, free: 103.4 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.133, allocations: 8.828 kB / 0.6947 GB, free: 103.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.832e-05/1.133, allocations: 11.95 kB / 0.6947 GB, free: 103.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02023/1.154, allocations: 14.31 MB / 0.7087 GB, free: 88.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/1.154, allocations: 8.219 kB / 0.7087 GB, free: 88.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/1.155, allocations: 494.8 kB / 0.7092 GB, free: 88.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001695/1.157, allocations: 0.6935 MB / 0.7099 GB, free: 87.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/1.157, allocations: 71.98 kB / 0.7099 GB, free: 87.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00678/1.164, allocations: 7.498 MB / 0.7173 GB, free: 79.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001241/1.165, allocations: 1.962 MB / 0.7192 GB, free: 77.69 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008209/1.173, allocations: 6.757 MB / 0.7258 GB, free: 70.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002224/1.176, allocations: 0.8145 MB / 0.7266 GB, free: 69.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005706/1.176, allocations: 63.98 kB / 0.7266 GB, free: 69.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001653/1.178, allocations: 163.9 kB / 0.7268 GB, free: 69.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000379/1.178, allocations: 226.3 kB / 0.727 GB, free: 69.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/1.178, allocations: 95.97 kB / 0.7271 GB, free: 69.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00303/1.181, allocations: 2.522 MB / 0.7296 GB, free: 66.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/1.181, allocations: 0 / 0.7296 GB, free: 66.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005177/1.187, allocations: 1.289 MB / 0.7308 GB, free: 65.46 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.008082/1.195, allocations: 7.453 MB / 0.7381 GB, free: 57.72 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006684/1.201, allocations: 4.97 MB / 0.7429 GB, free: 52.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.3e-05/1.201, allocations: 7.938 kB / 0.743 GB, free: 52.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002874/1.204, allocations: 2.268 MB / 0.7452 GB, free: 50.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00423/1.208, allocations: 1.002 MB / 0.7462 GB, free: 49.44 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06124/1.27, allocations: 46.16 MB / 0.7912 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005687/1.275, allocations: 4.509 MB / 0.7956 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004223/1.28, allocations: 1.364 MB / 0.797 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004006/1.284, allocations: 2.562 MB / 0.7995 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of SimCode: time 1.563e-06/1.284, allocations: 0 / 0.7995 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4018/1.685, allocations: 105.1 MB / 0.9021 GB, free: 127.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.76/23.44, allocations: 9.734 kB / 0.9022 GB, free: 127.1 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.105055747088045] Failed to read output from testmodel.py, exit status != 0: ['time', 'Vtr', 'Vqs'] 23.60640048980713 23.630262461 23.090129692 Calling exit ...