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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01284/0.01284, allocations: 168.3 kB / 15.13 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06812/0.06812, allocations: 8.804 MB / 24.67 MB, free: 4.102 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.331/2.331, allocations: 223.2 MB / 250.8 MB, free: 6.547 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 101.7 kB / 304.1 MB, free: 4.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005936/0.0005937, allocations: 8 kB / 367.2 MB, free: 4.859 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5034/0.504, allocations: 52.55 MB / 419.8 MB, free: 47.98 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.04825/0.5523, allocations: 23.51 MB / 443.3 MB, free: 30.82 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03474/0.5872, allocations: 7.418 MB / 450.7 MB, free: 25.41 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009355/0.5966, allocations: 177.8 kB / 450.9 MB, free: 25.38 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008573/0.6052, allocations: 1.478 MB / 452.4 MB, free: 24.28 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01591/0.6212, allocations: 2.746 MB / 455.1 MB, free: 21.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007304/0.6286, allocations: 1.235 MB / 456.4 MB, free: 20.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02277/0.6514, allocations: 14.64 MB / 471 MB, free: 5.754 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07118/0.7227, allocations: 19.83 MB / 490.8 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0174/0.7401, allocations: 4.774 MB / 495.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01968/0.7599, allocations: 5.289 MB / 0.4891 GB, free: 7.746 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006482/0.7665, allocations: 0.7188 MB / 0.4898 GB, free: 7.027 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01217/0.7787, allocations: 1.074 MB / 0.4909 GB, free: 5.953 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008761/0.7876, allocations: 2.227 MB / 0.4931 GB, free: 3.715 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01302/0.8007, allocations: 2.313 MB / 0.4953 GB, free: 1.391 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04347/0.8443, allocations: 20.94 MB / 0.5158 GB, free: 12.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.8444, allocations: 0 / 0.5158 GB, free: 12.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.8444, allocations: 0 / 0.5158 GB, free: 12.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0008482/0.8452, allocations: 0 / 0.5158 GB, free: 12.39 MB / 394.7 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.06629/0.9116, allocations: 12.26 MB / 0.5277 GB, free: 36 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.346e-05/0.9117, allocations: 12.56 kB / 0.5278 GB, free: 24 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01141/0.9231, allocations: 1.784 MB / 0.5295 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07641/0.9996, allocations: 8.472 MB / 0.5378 GB, free: 5.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03141/1.031, allocations: 7.392 MB / 0.545 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001727/1.033, allocations: 0.803 MB / 0.5458 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008374/1.041, allocations: 1.062 MB / 0.5468 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.899/1.94, allocations: 18.22 MB / 0.5646 GB, free: 100.2 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001005/1.941, allocations: 17.36 kB / 0.5646 GB, free: 100.2 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008093/1.95, allocations: 453.1 kB / 0.5651 GB, free: 99.86 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003051/1.953, allocations: 0.6643 MB / 0.5657 GB, free: 99.79 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08111/2.034, allocations: 17.47 MB / 0.5828 GB, free: 93.27 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1768/2.211, allocations: 58.85 MB / 0.6402 GB, free: 42.07 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04077/2.252, allocations: 37.43 MB / 0.6768 GB, free: 0.7227 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01429/2.266, allocations: 4.161 MB / 0.6808 GB, free: 12.53 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001161/2.267, allocations: 188.8 kB / 0.681 GB, free: 12.34 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002961/2.268, allocations: 86.64 kB / 0.6811 GB, free: 12.24 MB / 442.8 MB Notification: Performance of pre-optimization done (n=524): time 3.711e-05/2.268, allocations: 0 / 0.6811 GB, free: 12.24 MB / 442.8 MB Notification: Performance of matching and sorting (n=530): time 0.1147/2.382, allocations: 23.89 MB / 0.7044 GB, free: 4.129 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/2.383, allocations: 115.4 kB / 0.7045 GB, free: 4 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01511/2.398, allocations: 4.14 MB / 0.7086 GB, free: 15.83 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001882/2.4, allocations: 113.7 kB / 0.7087 GB, free: 15.71 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007006/2.407, allocations: 4.504 MB / 0.7131 GB, free: 11.18 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.005181/2.412, allocations: 1.796 MB / 0.7149 GB, free: 9.402 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/2.413, allocations: 144 kB / 0.715 GB, free: 9.262 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0008806/2.414, allocations: 0.5918 MB / 0.7156 GB, free: 8.664 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0117/2.426, allocations: 3.457 MB / 0.7189 GB, free: 5.203 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01578/2.442, allocations: 5.897 MB / 0.7247 GB, free: 14.21 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01624/2.458, allocations: 4.787 MB / 0.7294 GB, free: 9.383 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002228/2.459, allocations: 24 kB / 0.7294 GB, free: 9.359 MB / 490.8 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.6018/3.06, allocations: 10.95 MB / 0.7401 GB, free: 148.3 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002164/3.061, allocations: 38.94 kB / 0.7401 GB, free: 148.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000316/3.061, allocations: 77.12 kB / 0.7402 GB, free: 148.3 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008349/3.069, allocations: 1.39 MB / 0.7416 GB, free: 148.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01521/3.085, allocations: 1.619 MB / 0.7431 GB, free: 148.3 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03473/3.12, allocations: 10.55 MB / 0.7534 GB, free: 143.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01127/3.131, allocations: 408.4 kB / 0.7538 GB, free: 143.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003775/3.135, allocations: 337 kB / 0.7542 GB, free: 143.8 MB / 490.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02067/3.156, allocations: 4.166 MB / 0.7582 GB, free: 141.9 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003852/3.159, allocations: 485.5 kB / 0.7587 GB, free: 141.9 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04122/3.201, allocations: 8.529 MB / 0.767 GB, free: 138.4 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02902/3.23, allocations: 7.116 MB / 0.774 GB, free: 135.7 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.581e-05/3.23, allocations: 11.25 kB / 0.774 GB, free: 135.7 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002094/3.23, allocations: 27.14 kB / 0.774 GB, free: 135.7 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06581/3.296, allocations: 19.39 MB / 0.7929 GB, free: 126.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.408e-05/3.296, allocations: 3.938 kB / 0.7929 GB, free: 126.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008283/3.304, allocations: 0.9381 MB / 0.7939 GB, free: 126 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006619/3.311, allocations: 1.237 MB / 0.7951 GB, free: 125.1 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002127/3.314, allocations: 113.3 kB / 0.7952 GB, free: 125 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02288/3.336, allocations: 9.293 MB / 0.8043 GB, free: 116.1 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-05/3.337, allocations: 11.94 kB / 0.8043 GB, free: 116.1 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0377/3.374, allocations: 12.32 MB / 0.8163 GB, free: 103.7 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006658/3.381, allocations: 1.178 MB / 0.8174 GB, free: 102.5 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00243/3.384, allocations: 99.95 kB / 0.8175 GB, free: 102.4 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006211/3.39, allocations: 279.8 kB / 0.8178 GB, free: 102.1 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001652/3.391, allocations: 348.4 kB / 0.8181 GB, free: 101.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005707/3.392, allocations: 156 kB / 0.8183 GB, free: 101.6 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01061/3.403, allocations: 2.784 MB / 0.821 GB, free: 98.81 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.433e-06/3.403, allocations: 0 / 0.821 GB, free: 98.81 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.02098/3.424, allocations: 1.932 MB / 0.8229 GB, free: 96.88 MB / 490.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,40.3%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04269/3.467, allocations: 13.11 MB / 0.8357 GB, free: 83.58 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.03126/3.498, allocations: 8.746 MB / 0.8442 GB, free: 74.77 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-05/3.498, allocations: 8.281 kB / 0.8442 GB, free: 74.77 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01347/3.512, allocations: 4.19 MB / 0.8483 GB, free: 70.55 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01664/3.528, allocations: 1.085 MB / 0.8494 GB, free: 69.49 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.257/3.786, allocations: 55.92 MB / 0.904 GB, free: 11.02 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02901/3.815, allocations: 7.009 MB / 0.9109 GB, free: 3.965 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.01691/3.832, allocations: 2.313 MB / 0.9131 GB, free: 1.645 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01547/3.847, allocations: 3.842 MB / 0.9169 GB, free: 13.8 MB / 0.4949 GB Notification: Performance of SimCode: time 3.096e-06/3.847, allocations: 0 / 0.9169 GB, free: 13.8 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9774/4.825, allocations: 144.4 MB / 1.058 GB, free: 47.45 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002573/4.825, allocations: 223.1 kB / 1.058 GB, free: 47.2 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/17.49, allocations: 0 / 1.058 GB, free: 47.2 MB / 0.4949 GB (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/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1.fmu > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1)