Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") translateModel(OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 179.1 kB / 16.12 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.4 MB / 222.3 MB, free: 13.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 94.28 kB / 270.6 MB, free: 13.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.1649/0.1649, allocations: 42.32 MB / 361.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000428/0.0004282, allocations: 13.38 kB / 429.4 MB, free: 21.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1099, allocations: 57.56 MB / 487 MB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3294/0.4393, allocations: 87.03 MB / 0.5605 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.4395, allocations: 76.83 kB / 0.5606 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02389/0.4634, allocations: 8.824 MB / 0.5692 GB, free: 9.387 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4635, allocations: 3.938 kB / 0.5692 GB, free: 9.383 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.4635, allocations: 12 kB / 0.5693 GB, free: 9.371 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002131/0.4656, allocations: 0.9104 MB / 0.5701 GB, free: 8.461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.4657, allocations: 8.031 kB / 0.5701 GB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009695/0.4667, allocations: 190.3 kB / 0.5703 GB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004702/0.4671, allocations: 391.8 kB / 0.5707 GB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.4672, allocations: 91.39 kB / 0.5708 GB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.813e-05/0.4673, allocations: 24.5 kB / 0.5708 GB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007579/0.4681, allocations: 431.7 kB / 0.5712 GB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.4681, allocations: 4 kB / 0.5712 GB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.421e-05/0.4681, allocations: 10.5 kB / 0.5712 GB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.4682, allocations: 8 kB / 0.5712 GB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007248/0.4689, allocations: 411.5 kB / 0.5716 GB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.4708, allocations: 1.129 MB / 0.5727 GB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006494/0.4773, allocations: 1.856 MB / 0.5746 GB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005371/0.4779, allocations: 299.2 kB / 0.5748 GB, free: 4.406 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.835e-05/0.478, allocations: 7.938 kB / 0.5748 GB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.478, allocations: 42.38 kB / 0.5749 GB, free: 4.352 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 3.878e-06/0.478, allocations: 0 / 0.5749 GB, free: 4.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.006317/0.4843, allocations: 2.371 MB / 0.5772 GB, free: 2.195 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.4844, allocations: 55.41 kB / 0.5773 GB, free: 2.129 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005035/0.4849, allocations: 395.5 kB / 0.5776 GB, free: 1.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.479e-05/0.485, allocations: 36.83 kB / 0.5777 GB, free: 1.781 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.4851, allocations: 207.4 kB / 0.5779 GB, free: 1.641 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.4852, allocations: 127.1 kB / 0.578 GB, free: 1.531 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/0.4853, allocations: 3.125 kB / 0.578 GB, free: 1.531 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4854, allocations: 356.8 kB / 0.5783 GB, free: 1.191 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004779/0.4859, allocations: 251.8 kB / 0.5786 GB, free: 1.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004629/0.4864, allocations: 255 kB / 0.5788 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.4874, allocations: 0.534 MB / 0.5793 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/0.4875, allocations: 0 / 0.5793 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003866/0.4913, allocations: 1.521 MB / 0.5808 GB, free: 15.21 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.4914, allocations: 8 kB / 0.5808 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4914, allocations: 0 / 0.5808 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0028/0.4942, allocations: 0.8896 MB / 0.5817 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.4944, allocations: 39.42 kB / 0.5817 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005253/0.4997, allocations: 3.028 MB / 0.5847 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004956/0.5002, allocations: 70.83 kB / 0.5848 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.5003, allocations: 8 kB / 0.5848 GB, free: 11.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {7 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002188/0.5005, allocations: 152 kB / 0.5849 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.802e-05/0.5006, allocations: 47.41 kB / 0.585 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003711/0.5043, allocations: 1.443 MB / 0.5864 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.5043, allocations: 4 kB / 0.5864 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5043, allocations: 4 kB / 0.5864 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.5044, allocations: 7.984 kB / 0.5864 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000666/0.505, allocations: 0.534 MB / 0.5869 GB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.505, allocations: 0 / 0.5869 GB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.5053, allocations: 35.92 kB / 0.5869 GB, free: 9.781 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002096/0.5074, allocations: 0.7554 MB / 0.5877 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-05/0.5075, allocations: 11.88 kB / 0.5877 GB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003808/0.5113, allocations: 2.523 MB / 0.5901 GB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5113, allocations: 0 / 0.5901 GB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004339/0.5156, allocations: 1.847 MB / 0.592 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.5158, allocations: 123.2 kB / 0.5921 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.793e-05/0.5159, allocations: 7.875 kB / 0.5921 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004515/0.5163, allocations: 46.09 kB / 0.5921 GB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002202/0.5166, allocations: 93.08 kB / 0.5922 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.5166, allocations: 7.062 kB / 0.5922 GB, free: 5.031 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003373/0.517, allocations: 290.8 kB / 0.5925 GB, free: 4.816 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.517, allocations: 0 / 0.5925 GB, free: 4.816 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005105/0.5175, allocations: 157.4 kB / 0.5926 GB, free: 4.676 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (motorTypeI.s,motorTypeI.epr,motorTypeI.epm) * 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 (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000203/0.5177, allocations: 130.2 kB / 0.5928 GB, free: 4.547 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002649/0.5203, allocations: 1.179 MB / 0.5939 GB, free: 3.508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5204, allocations: 0 / 0.5939 GB, free: 3.508 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001694/0.5221, allocations: 0.8004 MB / 0.5947 GB, free: 2.762 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.5225, allocations: 37.48 kB / 0.5947 GB, free: 2.746 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.5242, allocations: 1.028 MB / 0.5957 GB, free: 1.766 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.5245, allocations: 0.811 MB / 0.5965 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.5247, allocations: 30.97 kB / 0.5966 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.652e-05/0.5248, allocations: 23.44 kB / 0.5966 GB, free: 0.875 MB / 394.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5248, allocations: 0 / 0.5966 GB, free: 0.875 MB / 394.7 MB Notification: Performance of Templates: time 0.01182/0.5366, allocations: 7.283 MB / 0.6037 GB, free: 9.617 MB / 410.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & ./OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)