Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.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.001443/0.001443, allocations: 109.8 kB / 19.74 MB, free: 2.582 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.001362/0.001362, allocations: 217.8 kB / 22.92 MB, free: 5.555 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.273/1.273, allocations: 230.4 MB / 256.4 MB, free: 8.277 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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMR_Inverter_Polyphase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMR_Inverter_Polyphase",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.0018/0.0018, allocations: 67.89 kB / 376.1 MB, free: 4.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.21, allocations: 53.31 MB / 429.4 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.02642/0.2364, allocations: 25.17 MB / 454.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01271/0.2491, allocations: 6.927 MB / 461.5 MB, free: 7.207 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003091/0.2522, allocations: 171.4 kB / 461.7 MB, free: 7.039 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003867/0.256, allocations: 1.661 MB / 463.4 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00596/0.262, allocations: 2.22 MB / 465.6 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003587/0.2656, allocations: 1.513 MB / 467.1 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01015/0.2757, allocations: 8.136 MB / 475.2 MB, free: 9.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005667/0.2814, allocations: 4.057 MB / 479.3 MB, free: 5.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005098/0.2865, allocations: 3.875 MB / 483.2 MB, free: 1.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006965/0.2935, allocations: 4.741 MB / 487.9 MB, free: 12.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001917/0.2954, allocations: 1.094 MB / 489 MB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002734/0.2981, allocations: 1.328 MB / 490.3 MB, free: 10.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002112/0.3002, allocations: 2.458 MB / 492.8 MB, free: 7.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005065/0.3053, allocations: 4.532 MB / 497.3 MB, free: 3.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01438/0.3197, allocations: 14.31 MB / 0.4996 GB, free: 4.879 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3197, allocations: 0 / 0.4996 GB, free: 4.879 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.3197, allocations: 3.984 kB / 0.4996 GB, free: 4.875 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002736/0.32, allocations: 0 / 0.4996 GB, free: 4.875 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.02195/0.3419, allocations: 9.081 MB / 0.5085 GB, free: 11.69 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3419, allocations: 12.03 kB / 0.5085 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001335/0.3433, allocations: 0.955 MB / 0.5094 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00801/0.3513, allocations: 1.674 MB / 0.5111 GB, free: 9.027 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008198/0.3595, allocations: 4.891 MB / 0.5159 GB, free: 4.062 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000384/0.3599, allocations: 0.5141 MB / 0.5164 GB, free: 3.547 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001041/0.3609, allocations: 0.6834 MB / 0.517 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01626/0.3772, allocations: 9.466 MB / 0.5263 GB, free: 9.332 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001172/0.3773, allocations: 7.953 kB / 0.5263 GB, free: 9.324 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006449/0.3779, allocations: 292 kB / 0.5266 GB, free: 9.039 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002924/0.3782, allocations: 338.1 kB / 0.5269 GB, free: 8.707 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01388/0.3921, allocations: 8.09 MB / 0.5348 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1939/0.586, allocations: 28.68 MB / 0.5628 GB, free: 73.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01043/0.5965, allocations: 17.45 MB / 0.5798 GB, free: 56.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005059/0.6015, allocations: 3.424 MB / 0.5832 GB, free: 54.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/0.6118, allocations: 8.926 MB / 0.5919 GB, free: 45.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.6118, allocations: 64.55 kB / 0.592 GB, free: 45.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=259): time 3.546e-06/0.6118, allocations: 0 / 0.592 GB, free: 45.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=265): time 0.01784/0.6297, allocations: 11.77 MB / 0.6034 GB, free: 33.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.6297, allocations: 77.5 kB / 0.6035 GB, free: 33.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003352/0.633, allocations: 3.413 MB / 0.6069 GB, free: 30.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001355/0.6332, allocations: 69.7 kB / 0.6069 GB, free: 30.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001092/0.6343, allocations: 3.147 MB / 0.61 GB, free: 27.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000405/0.6347, allocations: 0.9581 MB / 0.6109 GB, free: 26.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006644/0.6353, allocations: 0.6015 MB / 0.6115 GB, free: 25.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.222e-05/0.6354, allocations: 301.1 kB / 0.6118 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/0.6371, allocations: 1.459 MB / 0.6132 GB, free: 24.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002014/0.6391, allocations: 2.481 MB / 0.6157 GB, free: 21.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003885/0.643, allocations: 4.199 MB / 0.6198 GB, free: 16.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/0.643, allocations: 12 kB / 0.6198 GB, free: 16.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.005936/0.6489, allocations: 5.016 MB / 0.6247 GB, free: 11.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.649, allocations: 20 kB / 0.6247 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-05/0.649, allocations: 36.03 kB / 0.6247 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.6501, allocations: 0.5618 MB / 0.6253 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002382/0.6525, allocations: 0.7878 MB / 0.626 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005875/0.6583, allocations: 9.466 MB / 0.6353 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/0.6606, allocations: 168 kB / 0.6354 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002284/0.6608, allocations: 148 kB / 0.6356 GB, free: 15.72 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * 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 (406): * Single equations (assignments): 400 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * 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): 4 systems {(1,1,100.0%), (1,8,100.0%), (1,1,100.0%), (3,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003264/0.6641, allocations: 2.082 MB / 0.6376 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005532/0.6646, allocations: 389.5 kB / 0.638 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007457/0.6721, allocations: 4.494 MB / 0.6424 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/0.6721, allocations: 28 kB / 0.6424 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/0.6721, allocations: 15.94 kB / 0.6424 GB, free: 8.586 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.681e-05/0.6722, allocations: 19.94 kB / 0.6424 GB, free: 8.566 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/0.687, allocations: 10.32 MB / 0.6525 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.687, allocations: 4 kB / 0.6525 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/0.6887, allocations: 407.8 kB / 0.6529 GB, free: 13.69 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00237/0.691, allocations: 1.028 MB / 0.6539 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001621/0.6912, allocations: 83.95 kB / 0.654 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01925/0.7105, allocations: 18.83 MB / 0.6724 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7105, allocations: 8.047 kB / 0.6724 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009888/0.7203, allocations: 6.429 MB / 0.6787 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/0.7217, allocations: 0.7835 MB / 0.6794 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003931/0.7221, allocations: 60 kB / 0.6795 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/0.7237, allocations: 131.9 kB / 0.6796 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004102/0.7241, allocations: 209.6 kB / 0.6798 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/0.7242, allocations: 75.97 kB / 0.6799 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003238/0.7275, allocations: 2.319 MB / 0.6821 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.7275, allocations: 0 / 0.6821 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003334/0.7308, allocations: 1.16 MB / 0.6833 GB, free: 13.39 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.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 (195): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,8,100.0%), (4,33,93.8%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01025/0.7411, allocations: 7.096 MB / 0.6902 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006587/0.7476, allocations: 4.132 MB / 0.6942 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.7476, allocations: 0.9375 kB / 0.6942 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00436/0.752, allocations: 2.819 MB / 0.697 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003976/0.756, allocations: 1.028 MB / 0.698 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06072/0.8167, allocations: 40.1 MB / 0.7372 GB, free: 4.441 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004454/0.8212, allocations: 4.249 MB / 0.7413 GB, free: 172 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.1761/0.9972, allocations: 0.8275 MB / 0.7421 GB, free: 187.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002873/1, allocations: 2.559 MB / 0.7446 GB, free: 187.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.373e-06/1, allocations: 0 / 0.7446 GB, free: 187.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1431/1.143, allocations: 102.4 MB / 0.8446 GB, free: 103.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.33/16.47, allocations: 8.062 kB / 0.8446 GB, free: 103.8 MB / 0.545 GB " [Timeout remaining time 643] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMR_Inverter_Polyphase_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMR_Inverter_Polyphase.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.935330554006214]