Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.001425/0.001425, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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: 210.1 kB / 24.52 MB, free: 3.941 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.508/1.508, allocations: 230.5 MB / 258.2 MB, free: 7.82 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.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 63.89 kB / 378.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2731, allocations: 53.4 MB / 431.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03471/0.3078, allocations: 28.77 MB / 460.7 MB, free: 9.578 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02093/0.3287, allocations: 8.923 MB / 469.6 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007911/0.3366, allocations: 294.4 kB / 469.9 MB, free: 348 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01915/0.3558, allocations: 7.507 MB / 477.4 MB, free: 8.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01324/0.369, allocations: 3.757 MB / 481.2 MB, free: 5.039 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007222/0.3763, allocations: 2.141 MB / 483.3 MB, free: 2.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01943/0.3957, allocations: 13.26 MB / 496.6 MB, free: 5.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02873/0.4244, allocations: 14.98 MB / 0.4996 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01177/0.4362, allocations: 6.74 MB / 0.5062 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01275/0.4489, allocations: 7.479 MB / 0.5135 GB, free: 8.215 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00525/0.4542, allocations: 1.883 MB / 0.5153 GB, free: 6.332 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006909/0.4611, allocations: 2.265 MB / 0.5175 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005957/0.467, allocations: 3.76 MB / 0.5212 GB, free: 304 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01215/0.4792, allocations: 5.545 MB / 0.5266 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2857/0.7649, allocations: 25.21 MB / 0.5512 GB, free: 43.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.7649, allocations: 2.078 kB / 0.5512 GB, free: 43.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.7649, allocations: 1.375 kB / 0.5512 GB, free: 43.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008081/0.7657, allocations: 0 / 0.5512 GB, free: 43.04 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: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.0528/0.8185, allocations: 14.81 MB / 0.5657 GB, free: 36.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.8185, allocations: 9.812 kB / 0.5657 GB, free: 36.53 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003407/0.8189, allocations: 296.5 kB / 0.566 GB, free: 36.5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007181/0.8261, allocations: 1.51 MB / 0.5675 GB, free: 36.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03886/0.8649, allocations: 6.796 MB / 0.5741 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01998/0.8849, allocations: 8.191 MB / 0.5821 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007681/0.8857, allocations: 0.7922 MB / 0.5829 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00562/0.8913, allocations: 1.052 MB / 0.5839 GB, free: 28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04593/0.9372, allocations: 17.56 MB / 0.601 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006471/0.9379, allocations: 15.42 kB / 0.601 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005912/0.9438, allocations: 441.7 kB / 0.6015 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006523/0.9444, allocations: 0.6353 MB / 0.6021 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03704/0.9815, allocations: 16.34 MB / 0.618 GB, free: 10.58 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1129/1.094, allocations: 49.39 MB / 0.6663 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02408/1.118, allocations: 11.01 MB / 0.677 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008628/1.127, allocations: 3.957 MB / 0.6809 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02478/1.152, allocations: 9.351 MB / 0.69 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001026/1.152, allocations: 77.81 kB / 0.6901 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=398): time 9.588e-06/1.152, allocations: 0 / 0.6901 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of matching and sorting (n=423): time 0.05826/1.21, allocations: 20.97 MB / 0.7106 GB, free: 13.06 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/1.21, allocations: 120.7 kB / 0.7107 GB, free: 12.92 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008879/1.219, allocations: 4.711 MB / 0.7153 GB, free: 8.203 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008655/1.22, allocations: 97.69 kB / 0.7154 GB, free: 8.102 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003695/1.224, allocations: 4.822 MB / 0.7201 GB, free: 3.266 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002019/1.226, allocations: 1.523 MB / 0.7216 GB, free: 1.766 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002118/1.228, allocations: 1.152 MB / 0.7227 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.228, allocations: 305.1 kB / 0.723 GB, free: 308 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004829/1.233, allocations: 2.912 MB / 0.7258 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007399/1.24, allocations: 4.999 MB / 0.7307 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01328/1.254, allocations: 8.369 MB / 0.7389 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.208e-05/1.254, allocations: 20 kB / 0.7389 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.022/1.276, allocations: 9.73 MB / 0.7484 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-05/1.276, allocations: 36.41 kB / 0.7484 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001389/1.276, allocations: 68 kB / 0.7485 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004988/1.281, allocations: 1.637 MB / 0.7501 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00549/1.286, allocations: 1.328 MB / 0.7514 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.267/1.553, allocations: 17.08 MB / 0.7681 GB, free: 201.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005123/1.558, allocations: 324.5 kB / 0.7684 GB, free: 201 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/1.56, allocations: 288.3 kB / 0.7687 GB, free: 201 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * 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 (671): * Single equations (assignments): 667 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,61.2%), (1,1,100.0%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006876/1.566, allocations: 3.895 MB / 0.7725 GB, free: 199.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00164/1.568, allocations: 0.5245 MB / 0.773 GB, free: 199.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/1.581, allocations: 7.579 MB / 0.7804 GB, free: 196 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-05/1.581, allocations: 43.31 kB / 0.7804 GB, free: 196 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.718e-05/1.581, allocations: 17.28 kB / 0.7804 GB, free: 196 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.249e-05/1.581, allocations: 20.81 kB / 0.7805 GB, free: 196 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02767/1.609, allocations: 16.46 MB / 0.7965 GB, free: 186.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/1.609, allocations: 8.875 kB / 0.7965 GB, free: 186.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002888/1.612, allocations: 0.7321 MB / 0.7973 GB, free: 185.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003753/1.615, allocations: 1.544 MB / 0.7988 GB, free: 184.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003428/1.616, allocations: 103.9 kB / 0.7989 GB, free: 184.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01802/1.634, allocations: 20.25 MB / 0.8186 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/1.634, allocations: 8 kB / 0.8187 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0178/1.652, allocations: 11.31 MB / 0.8297 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003599/1.655, allocations: 1.119 MB / 0.8308 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001601/1.657, allocations: 88 kB / 0.8309 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003029/1.66, allocations: 229.3 kB / 0.8311 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007956/1.661, allocations: 355 kB / 0.8314 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002811/1.661, allocations: 136 kB / 0.8316 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004243/1.665, allocations: 3.19 MB / 0.8347 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/1.665, allocations: 0 / 0.8347 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006863/1.672, allocations: 1.868 MB / 0.8365 GB, free: 147.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,loadInertia.phi) * 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 (364): * Single equations (assignments): 357 * 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,1,100.0%), (14,44,41.3%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01481/1.687, allocations: 12.04 MB / 0.8483 GB, free: 135 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01206/1.699, allocations: 7.825 MB / 0.8559 GB, free: 127.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/1.699, allocations: 3.75 kB / 0.8559 GB, free: 127.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007336/1.706, allocations: 4.403 MB / 0.8602 GB, free: 122.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009577/1.716, allocations: 1.312 MB / 0.8615 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1105/1.826, allocations: 64.19 MB / 0.9242 GB, free: 54.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006377/1.833, allocations: 6.357 MB / 0.9304 GB, free: 48.03 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004953/1.838, allocations: 1.865 MB / 0.9322 GB, free: 46.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005008/1.843, allocations: 3.948 MB / 0.9361 GB, free: 42.21 MB / 0.5762 GB Notification: Performance of SimCode: time 1.362e-06/1.843, allocations: 4 kB / 0.9361 GB, free: 42.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4464/2.289, allocations: 160.7 MB / 1.093 GB, free: 119.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.42/25.71, allocations: 8.609 kB / 1.093 GB, free: 119.2 MB / 0.5762 GB " [Timeout remaining time 634] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 79.61648950004019] Failed to read output from testmodel.py, exit status != 0: ['time', 'imc.airGap.V_mrr.im', 'imc.airGap.V_mrr.re', 'imc.airGap.V_msr.im', 'imc.airGap.V_msr.re', 'imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'imc.stator.port_p.V_m.im', 'imc.stator.port_p.V_m.re', 'imc.stator.zeroInductor.i0', 'imcQS.rotorCage.port_p.reference.gamma', 'loadInertia.phi', 'loadInertia.w', 'loadInertiaQS.phi', 'loadInertiaQS.w'] 25.964217872009613 25.980987058 25.212426438 Calling exit ...