Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.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.001274/0.001274, allocations: 124.2 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.001425/0.001425, allocations: 214.2 kB / 21.45 MB, free: 1.629 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.46/1.46, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.Electrical.Machines.Examples.InductionMachines.IMC_YD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_YD",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_YD",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 71.89 kB / 373.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1165, allocations: 53.37 MB / 427.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.226/0.3425, allocations: 10.39 MB / 437.5 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006959/0.3495, allocations: 3.297 MB / 440.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002297/0.3518, allocations: 68.56 kB / 440.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002182/0.354, allocations: 0.7308 MB / 441.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003441/0.3574, allocations: 0.9218 MB / 442.5 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.3586, allocations: 428 kB / 442.9 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004794/0.3634, allocations: 3.434 MB / 446.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002426/0.3658, allocations: 1.877 MB / 448.2 MB, free: 172 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003229/0.3691, allocations: 1.577 MB / 449.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004387/0.3735, allocations: 1.896 MB / 451.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001097/0.3745, allocations: 397.8 kB / 452.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.3762, allocations: 499.3 kB / 452.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001418/0.3776, allocations: 1.126 MB / 453.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003535/0.3812, allocations: 1.778 MB / 455.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008001/0.3892, allocations: 5.246 MB / 460.7 MB, free: 9.715 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.3892, allocations: 2.156 kB / 460.7 MB, free: 9.715 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3892, allocations: 0 / 460.7 MB, free: 9.715 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002044/0.3894, allocations: 4 kB / 460.7 MB, free: 9.711 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.01139/0.4008, allocations: 3.632 MB / 464.3 MB, free: 7.195 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.4008, allocations: 9.75 kB / 464.3 MB, free: 7.195 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001304/0.4009, allocations: 66.61 kB / 464.4 MB, free: 7.188 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007767/0.4017, allocations: 361.5 kB / 464.8 MB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.4034, allocations: 406.1 kB / 465.2 MB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004303/0.4077, allocations: 1.957 MB / 467.1 MB, free: 5.344 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/0.4079, allocations: 200 kB / 467.3 MB, free: 5.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005018/0.4084, allocations: 254.2 kB / 467.6 MB, free: 5.164 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008113/0.4165, allocations: 3.535 MB / 471.1 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-05/0.4166, allocations: 18.58 kB / 471.1 MB, free: 3.012 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002936/0.4169, allocations: 102.9 kB / 471.2 MB, free: 2.934 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001683/0.417, allocations: 115 kB / 471.3 MB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007451/0.4245, allocations: 3.086 MB / 474.4 MB, free: 1.031 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02109/0.4456, allocations: 10.77 MB / 485.2 MB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003862/0.4494, allocations: 2.949 MB / 488.1 MB, free: 2.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002347/0.4518, allocations: 1.306 MB / 489.4 MB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003212/0.4521, allocations: 122.4 kB / 489.6 MB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001867/0.454, allocations: 1.151 MB / 490.7 MB, free: 252 kB / 382.1 MB Notification: Performance of pre-optimization done (n=156): time 3.497e-06/0.454, allocations: 0 / 490.7 MB, free: 252 kB / 382.1 MB Notification: Performance of matching and sorting (n=172): time 0.02198/0.476, allocations: 8.904 MB / 499.6 MB, free: 7.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.4761, allocations: 176.2 kB / 499.8 MB, free: 6.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003138/0.4792, allocations: 1.852 MB / 0.4899 GB, free: 5.133 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002808/0.4795, allocations: 53.7 kB / 0.4899 GB, free: 5.074 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001294/0.4808, allocations: 1.23 MB / 0.4911 GB, free: 3.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006533/0.4815, allocations: 0.5888 MB / 0.4917 GB, free: 3.238 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006024/0.4821, allocations: 351.5 kB / 0.492 GB, free: 2.887 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4822, allocations: 305.1 kB / 0.4923 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.4839, allocations: 1.011 MB / 0.4933 GB, free: 1.574 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/0.4858, allocations: 1.434 MB / 0.4947 GB, free: 15.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003549/0.4894, allocations: 2.45 MB / 0.4971 GB, free: 13.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-06/0.4894, allocations: 4 kB / 0.4971 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006095/0.4955, allocations: 3.319 MB / 0.5004 GB, free: 10.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.4955, allocations: 8 kB / 0.5004 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/0.4955, allocations: 15.94 kB / 0.5004 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002205/0.4977, allocations: 0.8802 MB / 0.5012 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.4991, allocations: 339.5 kB / 0.5016 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01244/0.5115, allocations: 10.44 MB / 0.5118 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/0.5137, allocations: 135.9 kB / 0.5119 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/0.5139, allocations: 69.48 kB / 0.512 GB, free: 13.74 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 24 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,switchYD.logicalDelay[3].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.idealOpener.control[3],switchYD.idealOpener.control[2],switchYD.idealOpener.control[1],switchYD.idealCloser.control[3],switchYD.idealCloser.control[2],switchYD.idealCloser.control[1],idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (9,25,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001859/0.5157, allocations: 0.9214 MB / 0.5129 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005637/0.5163, allocations: 222.6 kB / 0.5131 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005878/0.5222, allocations: 3.091 MB / 0.5161 GB, free: 9.469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.5222, allocations: 16 kB / 0.5161 GB, free: 9.453 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/0.5222, allocations: 8 kB / 0.5161 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/0.5222, allocations: 7.969 kB / 0.5161 GB, free: 9.438 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/0.5345, allocations: 6.198 MB / 0.5222 GB, free: 3.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/0.5345, allocations: 12.05 kB / 0.5222 GB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009937/0.5355, allocations: 211.6 kB / 0.5224 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002523/0.538, allocations: 0.929 MB / 0.5233 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/0.5382, allocations: 40.17 kB / 0.5233 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01476/0.5529, allocations: 12.02 MB / 0.5351 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.5529, allocations: 7.875 kB / 0.5351 GB, free: 5.332 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008072/0.561, allocations: 4.5 MB / 0.5395 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001726/0.5627, allocations: 0.4995 MB / 0.54 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003375/0.5631, allocations: 43.98 kB / 0.54 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.5643, allocations: 99.83 kB / 0.5401 GB, free: 116 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005751/0.5649, allocations: 193.2 kB / 0.5403 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.565, allocations: 47.98 kB / 0.5403 GB, free: 15.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002166/0.5671, allocations: 1.267 MB / 0.5416 GB, free: 14.62 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5671, allocations: 3.938 kB / 0.5416 GB, free: 14.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002578/0.5697, allocations: 0.6367 MB / 0.5422 GB, free: 13.98 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,25,33.3%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007933/0.5776, allocations: 5.159 MB / 0.5472 GB, free: 8.746 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005543/0.5832, allocations: 3.152 MB / 0.5503 GB, free: 5.512 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.622e-05/0.5832, allocations: 0 / 0.5503 GB, free: 5.512 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003681/0.5869, allocations: 2.175 MB / 0.5524 GB, free: 3.258 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003216/0.5901, allocations: 0.5815 MB / 0.553 GB, free: 2.688 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04021/0.6303, allocations: 22.47 MB / 0.5749 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002131/0.6325, allocations: 2.188 MB / 0.5771 GB, free: 9.422 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001422/0.6339, allocations: 453.6 kB / 0.5775 GB, free: 8.977 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00142/0.6353, allocations: 1.011 MB / 0.5785 GB, free: 7.965 MB / 494.1 MB Notification: Performance of SimCode: time 6.91e-07/0.6353, allocations: 4 kB / 0.5785 GB, free: 7.961 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3434/0.9787, allocations: 60.38 MB / 0.6375 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.66, allocations: 12.62 kB / 0.6375 GB, free: 168.3 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_YD_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_YD.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.320448005979415] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.is[1]', 'aimc.is[2]', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'loadInertia.phi', 'loadInertia.w'] 14.835311723989435 14.857833922 14.464238405 Calling exit ...