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.0016/0.0016, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001916/0.001916, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.545/1.545, allocations: 230.2 MB / 254.5 MB, free: 15.28 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 59.91 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1091, allocations: 53.32 MB / 426.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2321/0.3412, allocations: 33.63 MB / 460.3 MB, free: 6.031 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02265/0.3638, allocations: 9.269 MB / 469.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009226/0.3731, allocations: 242.2 kB / 469.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02153/0.3946, allocations: 8.08 MB / 477.9 MB, free: 9.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01589/0.4105, allocations: 3.745 MB / 481.7 MB, free: 6.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007809/0.4183, allocations: 2.148 MB / 483.8 MB, free: 4.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02143/0.4397, allocations: 13.15 MB / 497 MB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03403/0.4738, allocations: 16.89 MB / 0.5018 GB, free: 9.996 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01456/0.4883, allocations: 6.588 MB / 0.5082 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01523/0.5036, allocations: 7.471 MB / 0.5155 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006181/0.5097, allocations: 1.879 MB / 0.5174 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008144/0.5179, allocations: 2.273 MB / 0.5196 GB, free: 7.742 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006573/0.5244, allocations: 3.76 MB / 0.5233 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01465/0.5391, allocations: 7.109 MB / 0.5302 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03674/0.5758, allocations: 25.1 MB / 0.5547 GB, free: 3.652 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.5758, allocations: 0 / 0.5547 GB, free: 3.652 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5759, allocations: 0 / 0.5547 GB, free: 3.652 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007517/0.5766, allocations: 8 kB / 0.5547 GB, free: 3.645 MB / 462.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.0502/0.6268, allocations: 14.88 MB / 0.5693 GB, free: 4.633 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.6269, allocations: 12.03 kB / 0.5693 GB, free: 4.621 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00526/0.6321, allocations: 1.51 MB / 0.5707 GB, free: 3.098 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04092/0.673, allocations: 6.808 MB / 0.5774 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02201/0.695, allocations: 8.165 MB / 0.5854 GB, free: 4.035 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001068/0.6961, allocations: 0.7868 MB / 0.5861 GB, free: 3.246 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005517/0.7016, allocations: 1.043 MB / 0.5872 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04616/0.7478, allocations: 17.27 MB / 0.604 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005269/0.7483, allocations: 15.91 kB / 0.604 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003705/0.752, allocations: 440 kB / 0.6044 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000734/0.7528, allocations: 0.6275 MB / 0.6051 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4256/1.178, allocations: 16.34 MB / 0.621 GB, free: 144 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1014/1.28, allocations: 56.48 MB / 0.6762 GB, free: 109.8 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02143/1.301, allocations: 30.92 MB / 0.7064 GB, free: 80.04 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005908/1.307, allocations: 3.973 MB / 0.7103 GB, free: 77.98 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01886/1.326, allocations: 10.77 MB / 0.7208 GB, free: 69.79 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/1.326, allocations: 84.88 kB / 0.7209 GB, free: 69.7 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 5.02e-06/1.326, allocations: 0 / 0.7209 GB, free: 69.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=423): time 0.04228/1.368, allocations: 21.79 MB / 0.7421 GB, free: 48 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/1.368, allocations: 120.7 kB / 0.7422 GB, free: 47.86 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005813/1.374, allocations: 4.71 MB / 0.7468 GB, free: 43.19 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007745/1.375, allocations: 97.7 kB / 0.7469 GB, free: 43.09 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002047/1.377, allocations: 4.827 MB / 0.7517 GB, free: 38.36 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001386/1.378, allocations: 1.524 MB / 0.7531 GB, free: 36.85 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001596/1.38, allocations: 1.145 MB / 0.7543 GB, free: 35.7 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.748e-05/1.38, allocations: 305.1 kB / 0.7546 GB, free: 35.39 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003545/1.383, allocations: 2.916 MB / 0.7574 GB, free: 32.47 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004333/1.388, allocations: 4.949 MB / 0.7622 GB, free: 26.59 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009044/1.397, allocations: 8.365 MB / 0.7704 GB, free: 17.29 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.451e-05/1.397, allocations: 20 kB / 0.7704 GB, free: 17.27 MB / 0.5138 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01543/1.412, allocations: 9.731 MB / 0.7799 GB, free: 7.484 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.733e-05/1.412, allocations: 35.94 kB / 0.78 GB, free: 7.449 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001268/1.413, allocations: 71.94 kB / 0.78 GB, free: 7.379 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004183/1.417, allocations: 1.65 MB / 0.7816 GB, free: 5.719 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005207/1.422, allocations: 1.318 MB / 0.7829 GB, free: 4.398 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02428/1.446, allocations: 17.77 MB / 0.8003 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004921/1.451, allocations: 327.7 kB / 0.8006 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/1.452, allocations: 284 kB / 0.8009 GB, free: 1.488 MB / 0.5294 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.008065/1.46, allocations: 3.896 MB / 0.8047 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001606/1.462, allocations: 0.5201 MB / 0.8052 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01574/1.478, allocations: 7.741 MB / 0.8127 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.108e-05/1.478, allocations: 40 kB / 0.8128 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.885e-05/1.478, allocations: 16 kB / 0.8128 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.635e-05/1.478, allocations: 27.91 kB / 0.8128 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03709/1.515, allocations: 17.47 MB / 0.8299 GB, free: 3.527 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/1.515, allocations: 8 kB / 0.8299 GB, free: 3.52 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003448/1.518, allocations: 0.7378 MB / 0.8306 GB, free: 2.781 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004385/1.523, allocations: 1.54 MB / 0.8321 GB, free: 1.223 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006074/1.523, allocations: 112 kB / 0.8322 GB, free: 1.113 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2435/1.767, allocations: 21.21 MB / 0.8529 GB, free: 169.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/1.767, allocations: 11.44 kB / 0.8529 GB, free: 169.5 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01844/1.785, allocations: 11.46 MB / 0.8641 GB, free: 164.5 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003597/1.789, allocations: 1.181 MB / 0.8653 GB, free: 164 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001005/1.79, allocations: 84.56 kB / 0.8654 GB, free: 164 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002598/1.792, allocations: 228.8 kB / 0.8656 GB, free: 163.9 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007892/1.793, allocations: 332 kB / 0.8659 GB, free: 163.9 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002845/1.794, allocations: 140.9 kB / 0.866 GB, free: 163.8 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004727/1.798, allocations: 3.191 MB / 0.8691 GB, free: 162.6 MB / 0.5607 GB Notification: Performance of sort global known variables: time 9e-08/1.798, allocations: 1.562 kB / 0.8691 GB, free: 162.6 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006355/1.805, allocations: 1.863 MB / 0.871 GB, free: 162.4 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.0158/1.82, allocations: 12.2 MB / 0.8829 GB, free: 156.8 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01134/1.832, allocations: 7.844 MB / 0.8905 GB, free: 153.6 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/1.832, allocations: 3.969 kB / 0.8905 GB, free: 153.6 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006554/1.838, allocations: 4.392 MB / 0.8948 GB, free: 150.1 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005804/1.844, allocations: 1.321 MB / 0.8961 GB, free: 149 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08461/1.929, allocations: 64.05 MB / 0.9587 GB, free: 85.56 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006121/1.935, allocations: 6.778 MB / 0.9653 GB, free: 78.74 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004651/1.94, allocations: 1.861 MB / 0.9671 GB, free: 76.88 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004308/1.944, allocations: 3.948 MB / 0.971 GB, free: 72.93 MB / 0.5607 GB Notification: Performance of SimCode: time 9.51e-07/1.944, allocations: 3.938 kB / 0.971 GB, free: 72.92 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4745/2.418, allocations: 153.6 MB / 1.121 GB, free: 145.8 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.78/26.2, allocations: 13.92 kB / 1.121 GB, free: 145.8 MB / 0.5763 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: 82.11790880793706] 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.36960900342092 26.388516771 25.808358944 Calling exit ...