Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001655/0.001655, allocations: 119.8 kB / 18.45 MB, free: 4.477 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.001928/0.001928, allocations: 190.9 kB / 21.39 MB, free: 1.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 207.6 MB / 231.8 MB, free: 4.195 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 51.91 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1034, allocations: 49.13 MB / 391.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03903/0.1424, allocations: 33.09 MB / 424.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02185/0.1643, allocations: 9.005 MB / 433.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006731/0.171, allocations: 203.3 kB / 433.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02163/0.1926, allocations: 8.05 MB / 441.8 MB, free: 6.176 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01744/0.2101, allocations: 3.796 MB / 445.6 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009195/0.2193, allocations: 2.148 MB / 447.7 MB, free: 212 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02394/0.2432, allocations: 13.15 MB / 460.8 MB, free: 3.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3289/0.5721, allocations: 16.87 MB / 477.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01428/0.5864, allocations: 6.66 MB / 484.4 MB, free: 6.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01516/0.6016, allocations: 7.393 MB / 491.8 MB, free: 4.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006881/0.6085, allocations: 1.892 MB / 493.7 MB, free: 4.754 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008985/0.6174, allocations: 2.251 MB / 495.9 MB, free: 4.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006815/0.6242, allocations: 3.832 MB / 499.7 MB, free: 2.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02272/0.647, allocations: 7.555 MB / 0.4954 GB, free: 14.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04387/0.6908, allocations: 25.13 MB / 0.52 GB, free: 9.676 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/0.6909, allocations: 0 / 0.52 GB, free: 9.676 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.438e-06/0.6909, allocations: 0 / 0.52 GB, free: 9.676 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001001/0.6919, allocations: 0 / 0.52 GB, free: 9.676 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: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.05238/0.7442, allocations: 15.03 MB / 0.5346 GB, free: 10.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.425e-05/0.7443, allocations: 8.031 kB / 0.5346 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007508/0.7518, allocations: 1.541 MB / 0.5361 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04627/0.7981, allocations: 7.835 MB / 0.5438 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0257/0.8238, allocations: 7.383 MB / 0.551 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001178/0.825, allocations: 0.8008 MB / 0.5518 GB, free: 9.438 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006259/0.8312, allocations: 1.061 MB / 0.5528 GB, free: 8.391 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05506/0.8863, allocations: 17.68 MB / 0.5701 GB, free: 6.688 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007561/0.887, allocations: 19.91 kB / 0.5701 GB, free: 6.668 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005546/0.8926, allocations: 440.8 kB / 0.5705 GB, free: 6.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001019/0.8936, allocations: 0.663 MB / 0.5712 GB, free: 5.582 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04403/0.9376, allocations: 16.99 MB / 0.5878 GB, free: 4.582 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1187/1.056, allocations: 56.62 MB / 0.6431 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4879/1.544, allocations: 39.55 MB / 0.6817 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009172/1.553, allocations: 4.087 MB / 0.6857 GB, free: 147.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02688/1.58, allocations: 12.69 MB / 0.6981 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.244e-05/1.58, allocations: 72.94 kB / 0.6981 GB, free: 141 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=398): time 6.382e-06/1.58, allocations: 0 / 0.6981 GB, free: 141 MB / 0.5294 GB Notification: Performance of matching and sorting (n=423): time 0.04336/1.624, allocations: 21.66 MB / 0.7193 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/1.624, allocations: 127.2 kB / 0.7194 GB, free: 131.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006493/1.63, allocations: 4.827 MB / 0.7241 GB, free: 129.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007047/1.631, allocations: 92.45 kB / 0.7242 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002367/1.633, allocations: 4.961 MB / 0.729 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00123/1.635, allocations: 1.526 MB / 0.7305 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001493/1.636, allocations: 1.204 MB / 0.7317 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.227e-05/1.636, allocations: 305.1 kB / 0.732 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003399/1.639, allocations: 2.964 MB / 0.7349 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004288/1.644, allocations: 5.234 MB / 0.74 GB, free: 119 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008597/1.652, allocations: 8.722 MB / 0.7485 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.981e-05/1.652, allocations: 20 kB / 0.7485 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01876/1.671, allocations: 10.02 MB / 0.7583 GB, free: 101.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.159e-05/1.671, allocations: 36 kB / 0.7584 GB, free: 101.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001385/1.671, allocations: 72 kB / 0.7584 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004047/1.675, allocations: 1.668 MB / 0.7601 GB, free: 99.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005247/1.681, allocations: 1.4 MB / 0.7614 GB, free: 98.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01819/1.699, allocations: 17.77 MB / 0.7788 GB, free: 79.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005558/1.704, allocations: 343.8 kB / 0.7791 GB, free: 79.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001239/1.706, allocations: 308 kB / 0.7794 GB, free: 79.25 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * 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 (710): * Single equations (assignments): 706 * 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,67.3%), (1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008089/1.714, allocations: 3.952 MB / 0.7833 GB, free: 75.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001392/1.715, allocations: 0.524 MB / 0.7838 GB, free: 74.76 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/1.726, allocations: 7.743 MB / 0.7913 GB, free: 66.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/1.726, allocations: 44 kB / 0.7914 GB, free: 66.87 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.888e-05/1.726, allocations: 16 kB / 0.7914 GB, free: 66.86 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.161e-05/1.726, allocations: 23.92 kB / 0.7914 GB, free: 66.83 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02904/1.755, allocations: 17.48 MB / 0.8085 GB, free: 49.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.447e-05/1.755, allocations: 12.03 kB / 0.8085 GB, free: 49.19 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003465/1.759, allocations: 0.7216 MB / 0.8092 GB, free: 48.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003908/1.763, allocations: 1.548 MB / 0.8107 GB, free: 46.89 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009804/1.764, allocations: 104 kB / 0.8108 GB, free: 46.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01933/1.783, allocations: 21.24 MB / 0.8316 GB, free: 24.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.783, allocations: 12.16 kB / 0.8316 GB, free: 24.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/1.799, allocations: 11.43 MB / 0.8427 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003863/1.803, allocations: 1.181 MB / 0.8439 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001176/1.804, allocations: 84 kB / 0.844 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002563/1.806, allocations: 235.8 kB / 0.8442 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000778/1.807, allocations: 335.3 kB / 0.8445 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002515/1.807, allocations: 124 kB / 0.8446 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004801/1.812, allocations: 3.259 MB / 0.8478 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/1.812, allocations: 0 / 0.8478 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008352/1.821, allocations: 1.898 MB / 0.8497 GB, free: 5.859 MB / 0.5294 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.strayReluctance.Phi.re,imc.stator.strayReluctance.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,40.8%), (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.2768/2.097, allocations: 12.15 MB / 0.8615 GB, free: 161.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01729/2.115, allocations: 7.921 MB / 0.8693 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-05/2.115, allocations: 5.031 kB / 0.8693 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.008231/2.123, allocations: 4.406 MB / 0.8736 GB, free: 157.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007054/2.13, allocations: 1.31 MB / 0.8748 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1114/2.241, allocations: 65.66 MB / 0.939 GB, free: 114.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01107/2.252, allocations: 6.854 MB / 0.9457 GB, free: 108.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006266/2.259, allocations: 1.921 MB / 0.9475 GB, free: 106.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007345/2.266, allocations: 4.034 MB / 0.9515 GB, free: 102.8 MB / 0.5294 GB Notification: Performance of SimCode: time 2.224e-06/2.266, allocations: 0 / 0.9515 GB, free: 102.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6884/2.954, allocations: 154.9 MB / 1.103 GB, free: 164.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.29/25.24, allocations: 9.156 kB / 1.103 GB, free: 164.4 MB / 0.545 GB " [Timeout remaining time 635] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 80.55869532283396] 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.strayReluctance.port_p.Phi.im', 'imc.stator.strayReluctance.port_p.Phi.re', '// imc.stator.zeroInductor.i0', 'imcQS.rotorCage.port_p.reference.gamma', 'loadInertia.phi', 'loadInertia.w', 'loadInertiaQS.phi', 'loadInertiaQS.w'] 25.41666145110503 25.430874677 24.736485431 Calling exit ...