Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.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.00132/0.00132, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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 1.389/1.389, allocations: 230.6 MB / 252.7 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] 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.001585/0.001585, allocations: 211.7 kB / 309.2 MB, free: 2.938 MB / 238.1 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.04061/0.04061, allocations: 8.907 MB / 374.6 MB, free: 1.711 MB / 302.1 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.IMS_Characteristics1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMS_Characteristics1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002489/0.002489, allocations: 86.81 kB / 0.4891 GB, free: 4.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09339/0.09588, allocations: 55.61 MB / 0.5434 GB, free: 4.848 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.02793/0.1238, allocations: 23.27 MB / 0.5662 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01691/0.1407, allocations: 7.849 MB / 0.5738 GB, free: 5.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005711/0.1464, allocations: 238.8 kB / 0.5741 GB, free: 5.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02226/0.1687, allocations: 8.724 MB / 0.5826 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01057/0.1793, allocations: 3.368 MB / 0.5859 GB, free: 9.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00551/0.1848, allocations: 1.808 MB / 0.5876 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01644/0.2012, allocations: 12.37 MB / 0.5997 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0275/0.2287, allocations: 15.83 MB / 0.6152 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01067/0.2394, allocations: 6.648 MB / 0.6217 GB, free: 4.344 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01277/0.2522, allocations: 6.992 MB / 0.6285 GB, free: 13.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004666/0.2568, allocations: 1.836 MB / 0.6303 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006588/0.2634, allocations: 2.207 MB / 0.6324 GB, free: 9.285 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005463/0.2689, allocations: 3.601 MB / 0.636 GB, free: 5.676 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01094/0.2798, allocations: 5.37 MB / 0.6412 GB, free: 292 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4364/0.7162, allocations: 24.89 MB / 0.6655 GB, free: 44.13 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.7162, allocations: 0 / 0.6655 GB, free: 44.13 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.7162, allocations: 1.125 kB / 0.6655 GB, free: 44.13 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005695/0.7168, allocations: 0 / 0.6655 GB, free: 44.13 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04342/0.7602, allocations: 14.66 MB / 0.6798 GB, free: 40.34 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.7603, allocations: 10.12 kB / 0.6798 GB, free: 40.34 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0068/0.7671, allocations: 1.786 MB / 0.6816 GB, free: 40.04 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04562/0.8127, allocations: 8.446 MB / 0.6898 GB, free: 36.79 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01804/0.8307, allocations: 7.812 MB / 0.6975 GB, free: 32.69 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006172/0.8313, allocations: 0.8023 MB / 0.6982 GB, free: 32.33 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004574/0.8359, allocations: 1.065 MB / 0.6993 GB, free: 31.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04184/0.8777, allocations: 18.55 MB / 0.7174 GB, free: 17.92 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000384/0.8781, allocations: 11.05 kB / 0.7174 GB, free: 17.91 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003846/0.882, allocations: 448.8 kB / 0.7178 GB, free: 17.49 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005503/0.8825, allocations: 0.6672 MB / 0.7185 GB, free: 16.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03091/0.9134, allocations: 17.48 MB / 0.7356 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1025/1.016, allocations: 52.13 MB / 0.7865 GB, free: 11.12 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02468/1.041, allocations: 12.66 MB / 0.7988 GB, free: 0.5508 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006891/1.048, allocations: 3.73 MB / 0.8025 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006129/1.048, allocations: 124 kB / 0.8026 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.997e-05/1.048, allocations: 90.62 kB / 0.8027 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=518): time 8.175e-06/1.048, allocations: 0 / 0.8027 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=524): time 0.05329/1.102, allocations: 21.31 MB / 0.8235 GB, free: 7.137 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/1.102, allocations: 107.5 kB / 0.8236 GB, free: 7.016 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007879/1.11, allocations: 4.272 MB / 0.8278 GB, free: 2.715 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009908/1.11, allocations: 105.7 kB / 0.8279 GB, free: 2.605 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004022/1.115, allocations: 4.681 MB / 0.8324 GB, free: 13.91 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002504/1.117, allocations: 1.859 MB / 0.8342 GB, free: 12.08 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002903/1.12, allocations: 1.371 MB / 0.8356 GB, free: 10.7 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.12, allocations: 305.1 kB / 0.8359 GB, free: 10.4 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006369/1.126, allocations: 3.43 MB / 0.8392 GB, free: 6.965 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008913/1.135, allocations: 5.898 MB / 0.845 GB, free: 16 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01575/1.151, allocations: 10.02 MB / 0.8548 GB, free: 5.141 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.663e-05/1.151, allocations: 20 kB / 0.8548 GB, free: 5.121 MB / 0.5763 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.0231/1.174, allocations: 10.9 MB / 0.8654 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.883e-05/1.174, allocations: 40 kB / 0.8655 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001451/1.175, allocations: 78.08 kB / 0.8655 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003845/1.178, allocations: 1.364 MB / 0.8669 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006672/1.185, allocations: 1.618 MB / 0.8685 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2429/1.428, allocations: 10.97 MB / 0.8792 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005925/1.434, allocations: 399 kB / 0.8795 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001616/1.435, allocations: 339.1 kB / 0.8799 GB, free: 206.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,40.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007713/1.443, allocations: 4.167 MB / 0.8839 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001219/1.444, allocations: 499.6 kB / 0.8844 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/1.458, allocations: 8.407 MB / 0.8926 GB, free: 203.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01088/1.469, allocations: 7.03 MB / 0.8995 GB, free: 200.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.293e-05/1.469, allocations: 11.56 kB / 0.8995 GB, free: 200.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.639e-05/1.469, allocations: 25.84 kB / 0.8995 GB, free: 200.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03012/1.499, allocations: 17.84 MB / 0.9169 GB, free: 191.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.246e-05/1.499, allocations: 7.75 kB / 0.917 GB, free: 191.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003743/1.503, allocations: 0.9423 MB / 0.9179 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003003/1.506, allocations: 1.217 MB / 0.9191 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007505/1.506, allocations: 114.8 kB / 0.9192 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01201/1.518, allocations: 9.682 MB / 0.9286 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.518, allocations: 4 kB / 0.9286 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01715/1.536, allocations: 12.23 MB / 0.9406 GB, free: 170.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003899/1.539, allocations: 1.128 MB / 0.9417 GB, free: 169.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001184/1.541, allocations: 88 kB / 0.9418 GB, free: 169.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002692/1.543, allocations: 265.2 kB / 0.942 GB, free: 168.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000725/1.544, allocations: 380.2 kB / 0.9424 GB, free: 168.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003124/1.544, allocations: 158.5 kB / 0.9425 GB, free: 168.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003448/1.548, allocations: 2.776 MB / 0.9452 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.41e-07/1.548, allocations: 0 / 0.9452 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006811/1.555, allocations: 1.914 MB / 0.9471 GB, free: 163.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (ims.rotor.stray.port_p.reference.gamma,speed.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 (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01756/1.572, allocations: 13 MB / 0.9598 GB, free: 150.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01193/1.584, allocations: 8.354 MB / 0.968 GB, free: 142.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.584, allocations: 0 / 0.968 GB, free: 142.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006739/1.591, allocations: 3.869 MB / 0.9717 GB, free: 138.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006211/1.597, allocations: 1.132 MB / 0.9728 GB, free: 137.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08902/1.686, allocations: 63.61 MB / 1.035 GB, free: 70.54 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007807/1.694, allocations: 6.586 MB / 1.041 GB, free: 63.89 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005544/1.699, allocations: 2.325 MB / 1.044 GB, free: 61.56 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006008/1.705, allocations: 3.873 MB / 1.047 GB, free: 57.68 MB / 0.5919 GB Notification: Performance of SimCode: time 2.294e-06/1.705, allocations: 0 / 1.047 GB, free: 57.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4101/2.116, allocations: 153 MB / 1.197 GB, free: 147.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.45/20.57, allocations: 6.641 kB / 1.197 GB, free: 147.4 MB / 0.5919 GB " [Timeout remaining time 639] (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1.fmu > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.73331087687984] Failed to read output from testmodel.py, exit status != 0: 20.756464874837548 20.773954422 20.054190412 Calling exit ...