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.001469/0.001469, allocations: 106.5 kB / 19.74 MB, free: 2.566 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.001688/0.001688, allocations: 222.1 kB / 22.92 MB, free: 5.535 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.28/1.28, allocations: 230.5 MB / 256.4 MB, free: 8.445 MB / 206.1 MB " [Timeout remaining time 179] 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.001774/0.001774, allocations: 71.88 kB / 376.1 MB, free: 4.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.199, allocations: 53.3 MB / 429.4 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.0316/0.2306, allocations: 31.18 MB / 460.6 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01627/0.2469, allocations: 8.923 MB / 469.5 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004416/0.2513, allocations: 191.4 kB / 469.7 MB, free: 15.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01116/0.2625, allocations: 4.998 MB / 474.7 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008286/0.2707, allocations: 3.062 MB / 477.8 MB, free: 6.922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004105/0.2749, allocations: 1.642 MB / 479.4 MB, free: 5.285 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01084/0.2857, allocations: 8.83 MB / 488.2 MB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01203/0.2977, allocations: 8.393 MB / 496.6 MB, free: 3.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005819/0.3035, allocations: 4.25 MB / 0.4891 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007047/0.3106, allocations: 4.901 MB / 0.4939 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002335/0.3129, allocations: 1.164 MB / 0.4951 GB, free: 9.598 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003712/0.3166, allocations: 1.546 MB / 0.4966 GB, free: 8.051 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00258/0.3192, allocations: 2.419 MB / 0.4989 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006274/0.3255, allocations: 4.68 MB / 0.5035 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01741/0.3429, allocations: 15.88 MB / 0.519 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3429, allocations: 0 / 0.519 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3429, allocations: 0 / 0.519 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000288/0.3432, allocations: 4 kB / 0.519 GB, free: 0.9922 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.02535/0.3685, allocations: 9.975 MB / 0.5288 GB, free: 6.906 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.3686, allocations: 8.031 kB / 0.5288 GB, free: 6.898 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002603/0.3712, allocations: 1.145 MB / 0.5299 GB, free: 5.742 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02796/0.3991, allocations: 5.228 MB / 0.535 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1703/0.5694, allocations: 5.139 MB / 0.54 GB, free: 89.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002728/0.5697, allocations: 0.5403 MB / 0.5405 GB, free: 89.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001182/0.5709, allocations: 0.7045 MB / 0.5412 GB, free: 88.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01397/0.5848, allocations: 11.35 MB / 0.5523 GB, free: 84.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001322/0.585, allocations: 22.06 kB / 0.5523 GB, free: 84.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006523/0.5856, allocations: 299.5 kB / 0.5526 GB, free: 83.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000322/0.5859, allocations: 448.4 kB / 0.553 GB, free: 83.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01308/0.599, allocations: 10.87 MB / 0.5637 GB, free: 76.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03891/0.6379, allocations: 38.59 MB / 0.6013 GB, free: 36.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01237/0.6503, allocations: 27.98 MB / 0.6287 GB, free: 5.027 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003061/0.6534, allocations: 2.444 MB / 0.6311 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01162/0.665, allocations: 8.47 MB / 0.6393 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/0.665, allocations: 56.56 kB / 0.6394 GB, free: 9.992 MB / 462.1 MB Notification: Performance of pre-optimization done (n=217): time 3.025e-06/0.665, allocations: 0 / 0.6394 GB, free: 9.992 MB / 462.1 MB Notification: Performance of matching and sorting (n=233): time 0.01937/0.6844, allocations: 10.48 MB / 0.6496 GB, free: 15.54 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001999/0.6864, allocations: 2.007 MB / 0.6516 GB, free: 13.36 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005412/0.6918, allocations: 3.843 MB / 0.6553 GB, free: 9.488 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003222/0.6921, allocations: 69.7 kB / 0.6554 GB, free: 9.414 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002438/0.6946, allocations: 3.687 MB / 0.659 GB, free: 5.723 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008253/0.6954, allocations: 0.8631 MB / 0.6598 GB, free: 4.871 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001294/0.6967, allocations: 0.9653 MB / 0.6608 GB, free: 3.895 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.6968, allocations: 309.1 kB / 0.6611 GB, free: 3.59 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002696/0.6995, allocations: 1.895 MB / 0.6629 GB, free: 1.688 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004512/0.704, allocations: 4.397 MB / 0.6672 GB, free: 12.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007709/0.7117, allocations: 6.8 MB / 0.6739 GB, free: 4.055 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.573e-05/0.7118, allocations: 24 kB / 0.6739 GB, free: 4.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01096/0.7227, allocations: 7.001 MB / 0.6807 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.762e-05/0.7228, allocations: 47.94 kB / 0.6808 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.153e-05/0.7229, allocations: 84 kB / 0.6809 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001869/0.7247, allocations: 0.7381 MB / 0.6816 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003306/0.728, allocations: 1.127 MB / 0.6827 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007254/0.7353, allocations: 5.636 MB / 0.6882 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003333/0.7386, allocations: 315.4 kB / 0.6885 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004261/0.7391, allocations: 283.9 kB / 0.6888 GB, free: 4.641 MB / 0.4981 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.003795/0.7428, allocations: 2.518 MB / 0.6912 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008339/0.7437, allocations: 405.4 kB / 0.6916 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007356/0.751, allocations: 4.249 MB / 0.6957 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/0.7511, allocations: 24 kB / 0.6958 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.7511, allocations: 7.938 kB / 0.6958 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.433e-05/0.7511, allocations: 11.95 kB / 0.6958 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02287/0.774, allocations: 14.32 MB / 0.7098 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/0.774, allocations: 12 kB / 0.7098 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001903/0.7759, allocations: 483.2 kB / 0.7102 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002021/0.7779, allocations: 0.6935 MB / 0.7109 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002326/0.7781, allocations: 71.97 kB / 0.711 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009326/0.7875, allocations: 7.502 MB / 0.7183 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00178/0.7893, allocations: 1.949 MB / 0.7202 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/0.7994, allocations: 6.763 MB / 0.7268 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001764/0.8012, allocations: 0.8224 MB / 0.7276 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005442/0.8017, allocations: 63.94 kB / 0.7277 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/0.8035, allocations: 163.8 kB / 0.7278 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004143/0.8039, allocations: 225.7 kB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001705/0.8041, allocations: 91.98 kB / 0.7281 GB, free: 11.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003743/0.8078, allocations: 2.522 MB / 0.7306 GB, free: 8.785 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.8078, allocations: 0 / 0.7306 GB, free: 8.785 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004672/0.8125, allocations: 1.297 MB / 0.7319 GB, free: 7.488 MB / 0.545 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.1836/0.9961, allocations: 7.438 MB / 0.7391 GB, free: 182.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007447/1.004, allocations: 4.972 MB / 0.744 GB, free: 182.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/1.004, allocations: 3.969 kB / 0.744 GB, free: 182.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003034/1.007, allocations: 2.26 MB / 0.7462 GB, free: 181.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004237/1.011, allocations: 0.9917 MB / 0.7472 GB, free: 181.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04594/1.057, allocations: 46.27 MB / 0.7924 GB, free: 149.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002992/1.06, allocations: 4.499 MB / 0.7968 GB, free: 145.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002963/1.063, allocations: 1.368 MB / 0.7981 GB, free: 143.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002354/1.065, allocations: 2.553 MB / 0.8006 GB, free: 141.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.072e-06/1.065, allocations: 0 / 0.8006 GB, free: 141.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1365/1.202, allocations: 105.5 MB / 0.9036 GB, free: 36.54 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.27/19.48, allocations: 8 kB / 0.9036 GB, free: 36.53 MB / 0.545 GB " [Timeout remaining time 640] (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 --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: 21.820014449003793]