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.001533/0.001533, allocations: 111.1 kB / 21.22 MB, free: 0.7305 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.001334/0.001334, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.313/1.313, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 179] 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 39.94 kB / 371.3 MB, free: 9.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2457, allocations: 52.18 MB / 423.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03637/0.2821, allocations: 33.06 MB / 456.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.021/0.3031, allocations: 9.028 MB / 465.5 MB, free: 4.316 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006424/0.3095, allocations: 286.4 kB / 465.8 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02069/0.3302, allocations: 8.081 MB / 473.9 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01439/0.3446, allocations: 3.808 MB / 477.7 MB, free: 8.109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007553/0.3522, allocations: 2.158 MB / 479.9 MB, free: 5.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02137/0.3735, allocations: 13.12 MB / 493 MB, free: 8.797 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03225/0.4058, allocations: 14.97 MB / 0.496 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01302/0.4188, allocations: 6.744 MB / 0.5026 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01386/0.4327, allocations: 7.315 MB / 0.5098 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00554/0.4382, allocations: 1.879 MB / 0.5116 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006939/0.4452, allocations: 2.257 MB / 0.5138 GB, free: 7.441 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006111/0.4513, allocations: 3.764 MB / 0.5175 GB, free: 3.668 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01395/0.4652, allocations: 7.098 MB / 0.5244 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.258/0.7232, allocations: 25.06 MB / 0.5489 GB, free: 45.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.7232, allocations: 2.625 kB / 0.5489 GB, free: 45.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.7232, allocations: 0 / 0.5489 GB, free: 45.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006273/0.7239, allocations: 2.875 kB / 0.5489 GB, free: 45.13 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.04312/0.767, allocations: 14.75 MB / 0.5633 GB, free: 39.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.767, allocations: 13.38 kB / 0.5633 GB, free: 39.04 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002329/0.7673, allocations: 290.4 kB / 0.5636 GB, free: 39.02 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005022/0.7723, allocations: 1.51 MB / 0.5651 GB, free: 38.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03616/0.8085, allocations: 6.849 MB / 0.5718 GB, free: 36.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01542/0.8239, allocations: 8.14 MB / 0.5797 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005974/0.8245, allocations: 0.7909 MB / 0.5805 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005547/0.83, allocations: 1.049 MB / 0.5815 GB, free: 31.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03905/0.8691, allocations: 17.22 MB / 0.5983 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004066/0.8695, allocations: 15.94 kB / 0.5983 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002874/0.8723, allocations: 447 kB / 0.5988 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004604/0.8728, allocations: 0.6275 MB / 0.5994 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02943/0.9022, allocations: 16.3 MB / 0.6153 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1/1.002, allocations: 53.88 MB / 0.6679 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02116/1.023, allocations: 11.03 MB / 0.6787 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006857/1.03, allocations: 3.92 MB / 0.6825 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01996/1.05, allocations: 10.26 MB / 0.6925 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.363e-05/1.05, allocations: 77.81 kB / 0.6926 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=398): time 5.881e-06/1.05, allocations: 0 / 0.6926 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=423): time 0.04812/1.098, allocations: 20.93 MB / 0.713 GB, free: 10.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.907e-05/1.099, allocations: 124.7 kB / 0.7132 GB, free: 10.33 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007013/1.106, allocations: 4.674 MB / 0.7177 GB, free: 5.648 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007419/1.106, allocations: 101.7 kB / 0.7178 GB, free: 5.543 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003433/1.11, allocations: 4.81 MB / 0.7225 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001747/1.111, allocations: 1.514 MB / 0.724 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001894/1.113, allocations: 1.137 MB / 0.7251 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001189/1.114, allocations: 301.1 kB / 0.7254 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004469/1.118, allocations: 2.908 MB / 0.7282 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006194/1.124, allocations: 4.956 MB / 0.7331 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01186/1.136, allocations: 8.335 MB / 0.7412 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-05/1.136, allocations: 20 kB / 0.7412 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01954/1.156, allocations: 9.703 MB / 0.7507 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/1.156, allocations: 35.98 kB / 0.7507 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001429/1.156, allocations: 68 kB / 0.7508 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004881/1.161, allocations: 1.646 MB / 0.7524 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2179/1.379, allocations: 1.31 MB / 0.7537 GB, free: 214.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01937/1.398, allocations: 17.34 MB / 0.7706 GB, free: 206.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004873/1.403, allocations: 328 kB / 0.7709 GB, free: 206.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007873/1.404, allocations: 285.8 kB / 0.7712 GB, free: 206.3 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.005552/1.409, allocations: 3.891 MB / 0.775 GB, free: 204.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001095/1.41, allocations: 0.5105 MB / 0.7755 GB, free: 204.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01126/1.422, allocations: 7.582 MB / 0.7829 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/1.422, allocations: 43.03 kB / 0.783 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.634e-05/1.422, allocations: 15.56 kB / 0.783 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-05/1.422, allocations: 22.73 kB / 0.783 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02576/1.447, allocations: 17.3 MB / 0.7999 GB, free: 191.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.066e-05/1.447, allocations: 13.44 kB / 0.7999 GB, free: 191.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003219/1.451, allocations: 0.7292 MB / 0.8006 GB, free: 191.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003961/1.455, allocations: 1.542 MB / 0.8021 GB, free: 190 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008207/1.455, allocations: 104 kB / 0.8022 GB, free: 189.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01895/1.474, allocations: 20.5 MB / 0.8222 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.474, allocations: 11.75 kB / 0.8223 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01531/1.49, allocations: 11.26 MB / 0.8333 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002619/1.492, allocations: 1.117 MB / 0.8343 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009689/1.493, allocations: 103.9 kB / 0.8344 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003368/1.497, allocations: 227.8 kB / 0.8347 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0011/1.498, allocations: 349 kB / 0.835 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003139/1.498, allocations: 128 kB / 0.8351 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004623/1.503, allocations: 3.169 MB / 0.8382 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/1.503, allocations: 0 / 0.8382 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007537/1.51, allocations: 1.865 MB / 0.84 GB, free: 151.4 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.01646/1.527, allocations: 12 MB / 0.8517 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01141/1.538, allocations: 7.81 MB / 0.8594 GB, free: 131.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.006e-06/1.538, allocations: 4 kB / 0.8594 GB, free: 131.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006232/1.544, allocations: 4.393 MB / 0.8637 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006491/1.551, allocations: 1.301 MB / 0.8649 GB, free: 125.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09832/1.649, allocations: 64.18 MB / 0.9276 GB, free: 58.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008543/1.658, allocations: 6.766 MB / 0.9342 GB, free: 51.86 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005012/1.663, allocations: 1.865 MB / 0.936 GB, free: 49.98 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005492/1.668, allocations: 3.912 MB / 0.9399 GB, free: 46.07 MB / 0.5762 GB Notification: Performance of SimCode: time 1.072e-06/1.668, allocations: 0 / 0.9399 GB, free: 46.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4383/2.107, allocations: 158.2 MB / 1.094 GB, free: 132.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.36/24.47, allocations: 7.156 kB / 1.094 GB, free: 132.6 MB / 0.5762 GB " [Timeout remaining time 635] (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: 78.06300236599054] 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'] 24.71135694498662 24.719905472 23.994251795 Calling exit ...