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.001905/0.001905, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002602/0.002602, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.434/1.434, allocations: 230.6 MB / 258.3 MB, free: 8.074 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.001921/0.001921, allocations: 60.78 kB / 378.6 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2658, allocations: 53.38 MB / 432 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03795/0.3038, allocations: 31.16 MB / 463.1 MB, free: 7.629 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01982/0.3236, allocations: 8.927 MB / 472 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006372/0.3299, allocations: 222.9 kB / 472.3 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01303/0.343, allocations: 5.029 MB / 477.3 MB, free: 9.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01025/0.3532, allocations: 3.127 MB / 480.4 MB, free: 6.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005237/0.3585, allocations: 1.664 MB / 482.1 MB, free: 4.613 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01463/0.3731, allocations: 8.873 MB / 491 MB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01707/0.3902, allocations: 9.228 MB / 0.4885 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007665/0.3978, allocations: 4.351 MB / 0.4927 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008513/0.4063, allocations: 4.901 MB / 0.4975 GB, free: 9.109 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003436/0.4098, allocations: 1.164 MB / 0.4986 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004981/0.4148, allocations: 1.562 MB / 0.5002 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004132/0.4189, allocations: 2.419 MB / 0.5025 GB, free: 3.957 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008559/0.4274, allocations: 4.673 MB / 0.5071 GB, free: 15.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02232/0.4498, allocations: 15.89 MB / 0.5226 GB, free: 15.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4498, allocations: 0 / 0.5226 GB, free: 15.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4498, allocations: 0 / 0.5226 GB, free: 15.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004552/0.4502, allocations: 0 / 0.5226 GB, free: 15.32 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.03032/0.4805, allocations: 9.896 MB / 0.5323 GB, free: 5.344 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.4806, allocations: 8.031 kB / 0.5323 GB, free: 5.336 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003933/0.4845, allocations: 1.145 MB / 0.5334 GB, free: 4.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2601/0.7446, allocations: 5.221 MB / 0.5385 GB, free: 91.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/0.756, allocations: 5.141 MB / 0.5435 GB, free: 89.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003914/0.7564, allocations: 0.5375 MB / 0.544 GB, free: 89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002655/0.759, allocations: 0.7141 MB / 0.5447 GB, free: 88.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02258/0.7816, allocations: 11.35 MB / 0.5558 GB, free: 83.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000267/0.7819, allocations: 27.53 kB / 0.5558 GB, free: 83.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001716/0.7836, allocations: 297.3 kB / 0.5561 GB, free: 83.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004374/0.784, allocations: 447.9 kB / 0.5566 GB, free: 83.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0208/0.8048, allocations: 10.87 MB / 0.5672 GB, free: 74.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05909/0.8639, allocations: 36.69 MB / 0.603 GB, free: 37.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/0.8754, allocations: 7.506 MB / 0.6103 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003628/0.879, allocations: 2.44 MB / 0.6127 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01166/0.8907, allocations: 7.591 MB / 0.6201 GB, free: 21.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.8907, allocations: 64.5 kB / 0.6202 GB, free: 21.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 4.068e-06/0.8907, allocations: 0 / 0.6202 GB, free: 21.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01727/0.908, allocations: 10.32 MB / 0.6303 GB, free: 10.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001522/0.9095, allocations: 1.918 MB / 0.6321 GB, free: 8.801 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004929/0.9144, allocations: 3.839 MB / 0.6359 GB, free: 4.934 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004065/0.9148, allocations: 65.7 kB / 0.636 GB, free: 4.863 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001482/0.9163, allocations: 3.689 MB / 0.6396 GB, free: 1.172 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006656/0.917, allocations: 0.867 MB / 0.6404 GB, free: 324 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0014/0.9184, allocations: 0.9692 MB / 0.6413 GB, free: 15.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.9185, allocations: 301.1 kB / 0.6416 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003185/0.9217, allocations: 1.895 MB / 0.6435 GB, free: 13.13 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005793/0.9275, allocations: 4.388 MB / 0.6478 GB, free: 7.512 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/0.9376, allocations: 6.804 MB / 0.6544 GB, free: 15.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.381e-05/0.9377, allocations: 24 kB / 0.6544 GB, free: 15.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01558/0.9533, allocations: 7.001 MB / 0.6613 GB, free: 8.457 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.989e-05/0.9534, allocations: 47.98 kB / 0.6613 GB, free: 8.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001711/0.9536, allocations: 88.16 kB / 0.6614 GB, free: 8.324 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002261/0.9558, allocations: 0.7263 MB / 0.6621 GB, free: 7.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004276/0.9601, allocations: 1.131 MB / 0.6632 GB, free: 6.457 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008508/0.9686, allocations: 5.541 MB / 0.6686 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004255/0.9729, allocations: 323.3 kB / 0.6689 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008035/0.9737, allocations: 276 kB / 0.6692 GB, free: 216 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.005345/0.979, allocations: 2.522 MB / 0.6717 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/0.9801, allocations: 401.5 kB / 0.672 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008138/0.9882, allocations: 4.259 MB / 0.6762 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.762e-05/0.9882, allocations: 24 kB / 0.6762 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/0.9883, allocations: 8 kB / 0.6762 GB, free: 8.957 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.731e-05/0.9883, allocations: 11.95 kB / 0.6762 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02758/1.016, allocations: 14.01 MB / 0.6899 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.299e-05/1.016, allocations: 13 kB / 0.6899 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001999/1.018, allocations: 487.2 kB / 0.6904 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002172/1.02, allocations: 0.6817 MB / 0.6911 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000316/1.02, allocations: 71.97 kB / 0.6911 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/1.031, allocations: 7.293 MB / 0.6983 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001933/1.033, allocations: 1.856 MB / 0.7001 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01156/1.044, allocations: 6.754 MB / 0.7067 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002465/1.047, allocations: 0.7587 MB / 0.7074 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001056/1.048, allocations: 67.98 kB / 0.7075 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002119/1.05, allocations: 167.8 kB / 0.7076 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000542/1.05, allocations: 233.3 kB / 0.7079 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002047/1.051, allocations: 91.97 kB / 0.708 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004758/1.055, allocations: 2.518 MB / 0.7104 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.01e-07/1.055, allocations: 4 kB / 0.7104 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006086/1.062, allocations: 1.297 MB / 0.7117 GB, free: 3.801 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.01224/1.074, allocations: 7.459 MB / 0.719 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008931/1.083, allocations: 4.815 MB / 0.7237 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/1.083, allocations: 0 / 0.7237 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004338/1.087, allocations: 2.185 MB / 0.7258 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005013/1.092, allocations: 0.9989 MB / 0.7268 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2838/1.376, allocations: 46.25 MB / 0.7719 GB, free: 174.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00497/1.381, allocations: 4.498 MB / 0.7763 GB, free: 172.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004061/1.385, allocations: 1.366 MB / 0.7777 GB, free: 172.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003553/1.388, allocations: 2.565 MB / 0.7802 GB, free: 169.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.934e-06/1.388, allocations: 3.375 kB / 0.7802 GB, free: 169.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1588/1.547, allocations: 109.3 MB / 0.8869 GB, free: 61.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.49/24.04, allocations: 4 kB / 0.8869 GB, free: 61.06 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.64594883332029] Failed to read output from testmodel.py, exit status != 0: ['time', 'Vtr', 'Vqs'] 24.20332818571478 24.219109522 23.76568411 Calling exit ...