Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 123.9 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 185.2 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 51.92 kB / 365.7 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1193, allocations: 52.14 MB / 417.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.304/0.4233, allocations: 32.99 MB / 450.8 MB, free: 8.652 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02225/0.4455, allocations: 9.005 MB / 459.8 MB, free: 8.488 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009679/0.4552, allocations: 238.4 kB / 460 MB, free: 8.488 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02181/0.477, allocations: 8.058 MB / 468.1 MB, free: 5.988 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01746/0.4945, allocations: 3.732 MB / 471.8 MB, free: 4.312 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009248/0.5037, allocations: 2.1 MB / 473.9 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02869/0.5324, allocations: 13.03 MB / 487 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04203/0.5745, allocations: 16.88 MB / 0.492 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02031/0.5948, allocations: 6.589 MB / 0.4985 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01854/0.6133, allocations: 7.296 MB / 0.5056 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00785/0.6212, allocations: 1.879 MB / 0.5074 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01044/0.6316, allocations: 2.247 MB / 0.5096 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008953/0.6405, allocations: 3.764 MB / 0.5133 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01922/0.6598, allocations: 7.103 MB / 0.5202 GB, free: 4.332 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04287/0.7026, allocations: 25.05 MB / 0.5447 GB, free: 11.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.7026, allocations: 4 kB / 0.5447 GB, free: 11.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.7026, allocations: 0 / 0.5447 GB, free: 11.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008264/0.7035, allocations: 0 / 0.5447 GB, free: 11.68 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.05488/0.7584, allocations: 14.84 MB / 0.5592 GB, free: 12.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.7584, allocations: 8.031 kB / 0.5592 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007695/0.7661, allocations: 1.507 MB / 0.5607 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04117/0.8073, allocations: 6.849 MB / 0.5674 GB, free: 4.52 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02363/0.8309, allocations: 8.099 MB / 0.5753 GB, free: 12.41 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001259/0.8322, allocations: 0.786 MB / 0.576 GB, free: 11.63 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006488/0.8386, allocations: 1.064 MB / 0.5771 GB, free: 10.58 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05904/0.8977, allocations: 17.21 MB / 0.5939 GB, free: 9.328 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006471/0.8983, allocations: 19.94 kB / 0.5939 GB, free: 9.309 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004563/0.9029, allocations: 438.1 kB / 0.5943 GB, free: 8.895 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000798/0.9037, allocations: 0.6314 MB / 0.5949 GB, free: 8.258 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04217/0.9459, allocations: 16.3 MB / 0.6109 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5644/1.51, allocations: 55.28 MB / 0.6648 GB, free: 126.9 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02751/1.538, allocations: 30.59 MB / 0.6947 GB, free: 99.27 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007125/1.545, allocations: 3.936 MB / 0.6986 GB, free: 97.57 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02319/1.568, allocations: 10.44 MB / 0.7088 GB, free: 90.53 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.351e-05/1.568, allocations: 81.03 kB / 0.7088 GB, free: 90.45 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 5.951e-06/1.568, allocations: 0 / 0.7088 GB, free: 90.45 MB / 0.5138 GB Notification: Performance of matching and sorting (n=423): time 0.0469/1.615, allocations: 21.76 MB / 0.7301 GB, free: 77.38 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/1.615, allocations: 119.8 kB / 0.7302 GB, free: 77.28 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007617/1.623, allocations: 4.683 MB / 0.7348 GB, free: 74.02 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001034/1.624, allocations: 97.7 kB / 0.7349 GB, free: 73.91 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002809/1.627, allocations: 4.807 MB / 0.7396 GB, free: 69.61 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001934/1.628, allocations: 1.517 MB / 0.741 GB, free: 68.11 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001913/1.63, allocations: 1.141 MB / 0.7422 GB, free: 66.96 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.743e-05/1.63, allocations: 301.1 kB / 0.7425 GB, free: 66.66 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003807/1.634, allocations: 2.912 MB / 0.7453 GB, free: 63.74 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004745/1.639, allocations: 4.941 MB / 0.7501 GB, free: 57.87 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009183/1.648, allocations: 8.341 MB / 0.7583 GB, free: 48.59 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-05/1.648, allocations: 20 kB / 0.7583 GB, free: 48.57 MB / 0.5138 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01891/1.667, allocations: 9.699 MB / 0.7678 GB, free: 38.82 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/1.667, allocations: 36.78 kB / 0.7678 GB, free: 38.79 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001441/1.667, allocations: 64 kB / 0.7679 GB, free: 38.72 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004499/1.672, allocations: 1.653 MB / 0.7695 GB, free: 37.06 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005434/1.677, allocations: 1.31 MB / 0.7707 GB, free: 35.75 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01973/1.697, allocations: 17.79 MB / 0.7881 GB, free: 17.41 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006057/1.703, allocations: 327.7 kB / 0.7884 GB, free: 17.09 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001208/1.704, allocations: 280 kB / 0.7887 GB, free: 16.82 MB / 0.5138 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.009807/1.714, allocations: 3.892 MB / 0.7925 GB, free: 12.91 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002311/1.716, allocations: 0.5124 MB / 0.793 GB, free: 12.39 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/1.729, allocations: 7.729 MB / 0.8005 GB, free: 4.562 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-05/1.729, allocations: 40 kB / 0.8006 GB, free: 4.523 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-05/1.73, allocations: 16 kB / 0.8006 GB, free: 4.508 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.252e-05/1.73, allocations: 23.92 kB / 0.8006 GB, free: 4.484 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03998/1.77, allocations: 17.42 MB / 0.8176 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.501e-05/1.77, allocations: 7.938 kB / 0.8176 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003782/1.773, allocations: 0.7302 MB / 0.8184 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004721/1.778, allocations: 1.544 MB / 0.8199 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001118/1.779, allocations: 104 kB / 0.82 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02819/1.807, allocations: 21.22 MB / 0.8407 GB, free: 10.34 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/1.807, allocations: 11.94 kB / 0.8407 GB, free: 10.33 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3186/2.126, allocations: 11.42 MB / 0.8518 GB, free: 179 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006069/2.132, allocations: 1.173 MB / 0.853 GB, free: 178.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002703/2.135, allocations: 87.8 kB / 0.8531 GB, free: 178.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004464/2.139, allocations: 230.9 kB / 0.8533 GB, free: 178.9 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001282/2.141, allocations: 331.5 kB / 0.8536 GB, free: 178.9 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003518/2.141, allocations: 131.6 kB / 0.8537 GB, free: 178.9 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007195/2.148, allocations: 3.168 MB / 0.8568 GB, free: 178.7 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1e-07/2.148, allocations: 0 / 0.8568 GB, free: 178.7 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01035/2.158, allocations: 1.859 MB / 0.8586 GB, free: 178.7 MB / 0.5607 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.02049/2.179, allocations: 12.15 MB / 0.8705 GB, free: 175.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01408/2.193, allocations: 7.825 MB / 0.8781 GB, free: 172.2 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/2.193, allocations: 0 / 0.8781 GB, free: 172.2 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006762/2.2, allocations: 4.386 MB / 0.8824 GB, free: 170 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006229/2.206, allocations: 1.308 MB / 0.8837 GB, free: 169.6 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1065/2.313, allocations: 64.03 MB / 0.9462 GB, free: 121.1 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01258/2.325, allocations: 6.77 MB / 0.9529 GB, free: 114.3 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005574/2.331, allocations: 1.857 MB / 0.9547 GB, free: 112.4 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005772/2.336, allocations: 3.916 MB / 0.9585 GB, free: 108.5 MB / 0.5607 GB Notification: Performance of SimCode: time 1.282e-06/2.336, allocations: 0 / 0.9585 GB, free: 108.5 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4484/2.785, allocations: 152.9 MB / 1.108 GB, free: 163.6 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.46/26.25, allocations: 10.52 kB / 1.108 GB, free: 163.6 MB / 0.5607 GB " [Timeout remaining time 634] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 80.50422045495361] 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'] 26.41879809089005 26.441381144 25.733540296 Calling exit ...