Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9213/0.9213, allocations: 177.1 MB / 199.4 MB, free: 5.93 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 159.3 kB / 256 MB, free: 13.33 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02192/0.02192, allocations: 6.665 MB / 319 MB, free: 26.76 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_DOL,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_DOL,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 445.4 MB, free: 37.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.132e-05, allocations: 2.281 kB / 445.4 MB, free: 37.61 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.01891/0.01893, allocations: 33.48 MB / 478.9 MB, free: 3.988 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01743/0.03636, allocations: 10.05 MB / 488.9 MB, free: 9.902 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006683/0.04304, allocations: 354.1 kB / 489.3 MB, free: 9.555 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01224/0.05528, allocations: 10.06 MB / 499.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.06613, allocations: 4.234 MB / 0.4918 GB, free: 11.21 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004362/0.07049, allocations: 2.444 MB / 0.4942 GB, free: 8.777 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01631/0.0868, allocations: 17.25 MB / 0.511 GB, free: 7.461 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02708/0.1139, allocations: 20.36 MB / 0.5309 GB, free: 2.891 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01566/0.1295, allocations: 12.79 MB / 0.5434 GB, free: 6.082 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01324/0.1428, allocations: 8.139 MB / 0.5513 GB, free: 13.93 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005512/0.1483, allocations: 2.418 MB / 0.5537 GB, free: 11.51 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006155/0.1544, allocations: 2.835 MB / 0.5565 GB, free: 8.672 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004117/0.1586, allocations: 4.917 MB / 0.5613 GB, free: 3.742 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.3069/0.4655, allocations: 6.185 MB / 0.5673 GB, free: 45.18 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02407/0.4896, allocations: 32.62 MB / 0.5992 GB, free: 38.43 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.4896, allocations: 6.766 kB / 0.5992 GB, free: 38.43 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4896, allocations: 0 / 0.5992 GB, free: 38.43 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.0006949/0.4903, allocations: 0.875 kB / 0.5992 GB, free: 38.43 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.03467/0.5249, allocations: 18.83 MB / 0.6175 GB, free: 27.78 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.525, allocations: 9.906 kB / 0.6176 GB, free: 27.78 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002463/0.5274, allocations: 2.015 MB / 0.6195 GB, free: 26.36 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02117/0.5486, allocations: 8.287 MB / 0.6276 GB, free: 22.56 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01474/0.5633, allocations: 10.35 MB / 0.6377 GB, free: 12.76 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003358/0.5637, allocations: 1.062 MB / 0.6388 GB, free: 11.71 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001953/0.5656, allocations: 1.401 MB / 0.6401 GB, free: 10.32 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03992/0.6055, allocations: 23.09 MB / 0.6627 GB, free: 3.109 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000297/0.6058, allocations: 23.89 kB / 0.6627 GB, free: 3.086 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002307/0.6082, allocations: 0.5768 MB / 0.6633 GB, free: 2.523 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005796/0.6087, allocations: 0.7793 MB / 0.664 GB, free: 1.742 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03138/0.6401, allocations: 20.99 MB / 0.6845 GB, free: 12.75 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08998/0.7301, allocations: 65.16 MB / 0.7482 GB, free: 11.52 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1807/0.9108, allocations: 13.87 MB / 0.7617 GB, free: 182.3 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00587/0.9167, allocations: 4.736 MB / 0.7663 GB, free: 182.2 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01342/0.9301, allocations: 11.48 MB / 0.7775 GB, free: 181.1 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.9301, allocations: 85.8 kB / 0.7776 GB, free: 181.1 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=498): time 6.001e-06/0.9301, allocations: 3.938 kB / 0.7776 GB, free: 181.1 MB / 0.5262 GB Notification: Performance of matching and sorting (n=506): time 0.03147/0.9616, allocations: 25.94 MB / 0.803 GB, free: 170.4 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.9617, allocations: 132.6 kB / 0.8031 GB, free: 170.3 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00562/0.9673, allocations: 5.971 MB / 0.8089 GB, free: 165.5 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0003201/0.9676, allocations: 105.7 kB / 0.809 GB, free: 165.4 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001815/0.9694, allocations: 6.352 MB / 0.8152 GB, free: 159.8 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007372/0.9701, allocations: 1.799 MB / 0.817 GB, free: 158.1 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001285/0.9714, allocations: 1.468 MB / 0.8184 GB, free: 156.8 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 2.803e-05/0.9715, allocations: 305.1 kB / 0.8187 GB, free: 156.5 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002944/0.9744, allocations: 3.638 MB / 0.8223 GB, free: 153.4 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003639/0.978, allocations: 6.54 MB / 0.8286 GB, free: 146.2 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007007/0.985, allocations: 10.78 MB / 0.8392 GB, free: 135 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.012e-05/0.9851, allocations: 28 kB / 0.8392 GB, free: 135 MB / 0.5262 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01083/0.9959, allocations: 12.03 MB / 0.8509 GB, free: 123 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 4.653e-05/0.996, allocations: 47.98 kB / 0.851 GB, free: 123 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.181e-05/0.996, allocations: 92 kB / 0.8511 GB, free: 122.9 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002298/0.9983, allocations: 1.602 MB / 0.8526 GB, free: 121.3 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002779/1.001, allocations: 1.673 MB / 0.8543 GB, free: 119.6 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/1.013, allocations: 18.89 MB / 0.8727 GB, free: 100.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003804/1.017, allocations: 423.5 kB / 0.8731 GB, free: 99.73 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004633/1.017, allocations: 368 kB / 0.8735 GB, free: 99.37 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,1,100.0%), (12,64,52.1%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007003/1.024, allocations: 5.189 MB / 0.8785 GB, free: 94.17 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001047/1.025, allocations: 0.6288 MB / 0.8792 GB, free: 93.54 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009126/1.034, allocations: 9.174 MB / 0.8881 GB, free: 84.31 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005071/1.039, allocations: 5.861 MB / 0.8938 GB, free: 78.42 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.529e-05/1.04, allocations: 16 kB / 0.8939 GB, free: 78.4 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.608e-05/1.04, allocations: 27.91 kB / 0.8939 GB, free: 78.38 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02051/1.06, allocations: 19.97 MB / 0.9134 GB, free: 58.35 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/1.06, allocations: 7.984 kB / 0.9134 GB, free: 58.34 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001844/1.062, allocations: 0.8741 MB / 0.9142 GB, free: 57.47 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002509/1.064, allocations: 1.631 MB / 0.9158 GB, free: 55.82 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000261/1.065, allocations: 131.9 kB / 0.916 GB, free: 55.69 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/1.078, allocations: 22.22 MB / 0.9377 GB, free: 32.7 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.078, allocations: 7.938 kB / 0.9377 GB, free: 32.7 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/1.09, allocations: 13.58 MB / 0.9509 GB, free: 18.8 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002249/1.092, allocations: 1.351 MB / 0.9523 GB, free: 17.44 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004944/1.093, allocations: 108 kB / 0.9524 GB, free: 17.33 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/1.094, allocations: 279.7 kB / 0.9526 GB, free: 17.06 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006388/1.095, allocations: 436.2 kB / 0.953 GB, free: 16.63 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002241/1.095, allocations: 167.9 kB / 0.9532 GB, free: 16.47 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.004582/1.1, allocations: 3.908 MB / 0.957 GB, free: 12.59 MB / 0.5262 GB Notification: Performance of sort global known variables: time 2e-07/1.1, allocations: 0 / 0.957 GB, free: 12.59 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.008571/1.108, allocations: 2.348 MB / 0.9593 GB, free: 10.24 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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%), (1,5,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.1863/1.295, allocations: 14.33 MB / 0.9733 GB, free: 166.2 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01085/1.306, allocations: 9.469 MB / 0.9825 GB, free: 165.1 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/1.306, allocations: 2.953 kB / 0.9826 GB, free: 165.1 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.005009/1.311, allocations: 5.155 MB / 0.9876 GB, free: 164.1 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004576/1.315, allocations: 1.647 MB / 0.9892 GB, free: 163.9 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09379/1.409, allocations: 80.22 MB / 1.068 GB, free: 101.7 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005799/1.415, allocations: 8.493 MB / 1.076 GB, free: 93.2 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.004142/1.419, allocations: 2.547 MB / 1.078 GB, free: 90.65 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00353/1.422, allocations: 5.194 MB / 1.083 GB, free: 85.45 MB / 0.5262 GB Notification: Performance of SimCode: time 1.382e-06/1.422, allocations: 0 / 1.083 GB, free: 85.45 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3297/1.752, allocations: 194.8 MB / 1.274 GB, free: 94 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/15.26, allocations: 10.36 kB / 1.274 GB, free: 94 MB / 0.5262 GB " [Timeout remaining time 645] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_DOL.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.InductionMachines.IMC_DOL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_InductionMachines_IMC_DOL.fmu > HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.672865523025393] Failed to read output from testmodel.py, exit status != 0: 15.427152946591377 15.434521565 14.943364013 Calling exit ...