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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: translateModel(HanserModelica.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") translateModel(HanserModelica.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 98.19 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.3 MB / 239.4 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 176.5 kB / 290.6 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03202/0.03202, allocations: 8.806 MB / 350.5 MB, free: 4.578 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003825, allocations: 10.5 kB / 413.8 MB, free: 42.8 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1075, allocations: 52.56 MB / 466.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.02544/0.133, allocations: 25.37 MB / 491.7 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01807/0.1511, allocations: 7.908 MB / 499.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00687/0.1581, allocations: 187.4 kB / 499.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007468/0.1655, allocations: 1.948 MB / 0.49 GB, free: 9.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01449/0.1801, allocations: 3.031 MB / 0.493 GB, free: 6.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006511/0.1866, allocations: 1.581 MB / 0.4945 GB, free: 4.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01761/0.2042, allocations: 12.22 MB / 0.5065 GB, free: 8.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04418/0.2485, allocations: 24.07 MB / 0.53 GB, free: 484 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2451/0.4936, allocations: 4.581 MB / 0.5344 GB, free: 19.9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01227/0.506, allocations: 5.536 MB / 0.5398 GB, free: 18.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004569/0.5106, allocations: 0.7189 MB / 0.5405 GB, free: 18.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008729/0.5193, allocations: 1.081 MB / 0.5416 GB, free: 18.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004813/0.5242, allocations: 2.271 MB / 0.5438 GB, free: 18.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01713/0.5413, allocations: 5.462 MB / 0.5492 GB, free: 16.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03254/0.5739, allocations: 23.26 MB / 0.5719 GB, free: 6.043 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.574, allocations: 0 / 0.5719 GB, free: 6.043 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.574, allocations: 0 / 0.5719 GB, free: 6.043 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0008688/0.5748, allocations: 0 / 0.5719 GB, free: 6.043 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.0402/0.615, allocations: 12.14 MB / 0.5837 GB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.6151, allocations: 10.44 kB / 0.5837 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04687/0.662, allocations: 8.474 MB / 0.592 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02242/0.6845, allocations: 7.48 MB / 0.5993 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001176/0.6857, allocations: 0.8079 MB / 0.6001 GB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006117/0.6918, allocations: 1.064 MB / 0.6011 GB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06048/0.7523, allocations: 18.31 MB / 0.619 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007544/0.7532, allocations: 19.81 kB / 0.619 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006595/0.7598, allocations: 451.3 kB / 0.6195 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00104/0.7608, allocations: 0.6633 MB / 0.6201 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04845/0.8093, allocations: 17.56 MB / 0.6373 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.119/0.9283, allocations: 58.88 MB / 0.6948 GB, free: 3.379 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2685/1.197, allocations: 37.46 MB / 0.7313 GB, free: 133.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007033/1.204, allocations: 4.159 MB / 0.7354 GB, free: 133.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005061/1.205, allocations: 195 kB / 0.7356 GB, free: 133.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.079e-05/1.205, allocations: 86.89 kB / 0.7357 GB, free: 133.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=524): time 7.074e-06/1.205, allocations: 3.906 kB / 0.7357 GB, free: 133.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=530): time 0.05063/1.255, allocations: 21.98 MB / 0.7571 GB, free: 129.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/1.255, allocations: 104.6 kB / 0.7572 GB, free: 129.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006524/1.262, allocations: 4.18 MB / 0.7613 GB, free: 127.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008744/1.263, allocations: 109.3 kB / 0.7614 GB, free: 127.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002372/1.265, allocations: 4.504 MB / 0.7658 GB, free: 124.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001883/1.267, allocations: 1.795 MB / 0.7676 GB, free: 122.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007496/1.268, allocations: 0.5492 MB / 0.7681 GB, free: 122.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.353e-05/1.268, allocations: 313 kB / 0.7684 GB, free: 122.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004504/1.272, allocations: 3.485 MB / 0.7718 GB, free: 120.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005574/1.278, allocations: 5.925 MB / 0.7776 GB, free: 116.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01137/1.289, allocations: 10.1 MB / 0.7875 GB, free: 109.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.619e-05/1.289, allocations: 23.41 kB / 0.7875 GB, free: 109.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.0174/1.307, allocations: 11.01 MB / 0.7982 GB, free: 100.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.363e-05/1.307, allocations: 44.03 kB / 0.7983 GB, free: 100.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001218/1.307, allocations: 78.77 kB / 0.7984 GB, free: 100.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003397/1.311, allocations: 1.38 MB / 0.7997 GB, free: 99.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005863/1.316, allocations: 1.614 MB / 0.8013 GB, free: 98.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/1.33, allocations: 10.59 MB / 0.8116 GB, free: 88.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005641/1.335, allocations: 415.8 kB / 0.812 GB, free: 87.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001074/1.336, allocations: 332 kB / 0.8123 GB, free: 87.42 MB / 494.1 MB 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 (843): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007638/1.344, allocations: 4.17 MB / 0.8164 GB, free: 83.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001381/1.345, allocations: 474.9 kB / 0.8169 GB, free: 82.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/1.359, allocations: 8.553 MB / 0.8252 GB, free: 74.13 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009563/1.368, allocations: 7.155 MB / 0.8322 GB, free: 66.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.042e-05/1.368, allocations: 12 kB / 0.8322 GB, free: 66.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-05/1.368, allocations: 27.89 kB / 0.8322 GB, free: 66.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03984/1.408, allocations: 19.44 MB / 0.8512 GB, free: 47.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.821e-05/1.408, allocations: 4 kB / 0.8512 GB, free: 47.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004139/1.413, allocations: 0.9403 MB / 0.8521 GB, free: 46.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003675/1.416, allocations: 1.242 MB / 0.8534 GB, free: 44.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001181/1.417, allocations: 112 kB / 0.8535 GB, free: 44.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01289/1.43, allocations: 9.322 MB / 0.8626 GB, free: 35.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.43, allocations: 4 kB / 0.8626 GB, free: 35.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02139/1.452, allocations: 12.39 MB / 0.8747 GB, free: 22.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003686/1.456, allocations: 1.17 MB / 0.8758 GB, free: 21.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001752/1.457, allocations: 92 kB / 0.8759 GB, free: 21.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003792/1.461, allocations: 287.3 kB / 0.8762 GB, free: 21.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001191/1.462, allocations: 352.3 kB / 0.8765 GB, free: 20.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006589/1.463, allocations: 144 kB / 0.8767 GB, free: 20.74 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005316/1.468, allocations: 2.823 MB / 0.8794 GB, free: 17.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/1.468, allocations: 0 / 0.8794 GB, free: 17.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008976/1.477, allocations: 1.933 MB / 0.8813 GB, free: 15.98 MB / 494.1 MB 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 (502): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001516/1.479, allocations: 298 kB / 0.8816 GB, free: 15.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0149/1.494, allocations: 8.789 MB / 0.8902 GB, free: 6.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/1.494, allocations: 4 kB / 0.8902 GB, free: 6.836 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007571/1.501, allocations: 4.222 MB / 0.8943 GB, free: 2.598 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009505/1.511, allocations: 1.066 MB / 0.8953 GB, free: 1.551 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2677/1.779, allocations: 24.07 MB / 0.9188 GB, free: 139.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01199/1.791, allocations: 7.005 MB / 0.9257 GB, free: 138.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007425/1.798, allocations: 2.322 MB / 0.928 GB, free: 138 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001385/1.8, allocations: 416.8 kB / 0.9284 GB, free: 138 MB / 494.1 MB Notification: Performance of SimCode: time 1.943e-06/1.8, allocations: 0 / 0.9284 GB, free: 138 MB / 494.1 MB Notification: Performance of Templates: time 0.1282/1.928, allocations: 78.55 MB / 1.005 GB, free: 74.47 MB / 494.1 MB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.makefile Environment - environmentSimulation: (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 & ./HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1) Environment - environmentSimulation: