Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",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.001097/0.001097, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.162/1.162, allocations: 221.4 MB / 234.6 MB, free: 14.43 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.0008631/0.0008633, allocations: 93.16 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4312/0.4312, allocations: 78.9 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.453e-05/2.455e-05, allocations: 4 kB / 492.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2971, allocations: 69.51 MB / 0.5492 GB, free: 19.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.4098, allocations: 92.75 MB / 0.6398 GB, free: 6.75 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.41, allocations: 75.97 kB / 0.6399 GB, free: 6.676 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02583/0.4359, allocations: 9.636 MB / 0.6493 GB, free: 12.98 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4359, allocations: 0 / 0.6493 GB, free: 12.98 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.4359, allocations: 12 kB / 0.6493 GB, free: 12.97 MB / 474.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.00186/0.4378, allocations: 0.8264 MB / 0.6501 GB, free: 12.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.4378, allocations: 15.91 kB / 0.6501 GB, free: 12.08 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.011e-05/0.4379, allocations: 66.55 kB / 0.6502 GB, free: 12.01 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009619/0.4389, allocations: 187.3 kB / 0.6503 GB, free: 11.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004783/0.4394, allocations: 387.6 kB / 0.6507 GB, free: 11.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.4395, allocations: 95.89 kB / 0.6508 GB, free: 11.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-05/0.4396, allocations: 31.91 kB / 0.6508 GB, free: 11.27 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005764/0.4401, allocations: 349.2 kB / 0.6512 GB, free: 10.91 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4402, allocations: 0 / 0.6512 GB, free: 10.91 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.4402, allocations: 12 kB / 0.6512 GB, free: 10.9 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.4402, allocations: 4 kB / 0.6512 GB, free: 10.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000541/0.4408, allocations: 342.1 kB / 0.6515 GB, free: 10.57 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.4427, allocations: 1.158 MB / 0.6526 GB, free: 9.355 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00685/0.4496, allocations: 1.708 MB / 0.6543 GB, free: 7.637 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/0.45, allocations: 228.9 kB / 0.6545 GB, free: 7.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-05/0.45, allocations: 8.578 kB / 0.6545 GB, free: 7.402 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.4501, allocations: 34.56 kB / 0.6546 GB, free: 7.359 MB / 474.7 MB Notification: Performance of pre-optimization done (n=35): time 2.134e-06/0.4501, allocations: 0 / 0.6546 GB, free: 7.359 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.003296/0.4534, allocations: 1.182 MB / 0.6557 GB, free: 6.16 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.4534, allocations: 59.34 kB / 0.6558 GB, free: 6.09 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004583/0.4539, allocations: 378.9 kB / 0.6561 GB, free: 5.719 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.4539, allocations: 29.7 kB / 0.6562 GB, free: 5.684 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.4541, allocations: 212.6 kB / 0.6564 GB, free: 5.473 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.4542, allocations: 122.2 kB / 0.6565 GB, free: 5.352 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.4542, allocations: 8 kB / 0.6565 GB, free: 5.344 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.4544, allocations: 358.8 kB / 0.6568 GB, free: 4.984 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/0.4547, allocations: 180 kB / 0.657 GB, free: 4.809 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.455, allocations: 187.8 kB / 0.6572 GB, free: 4.625 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.4553, allocations: 200.4 kB / 0.6574 GB, free: 4.43 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.4553, allocations: 3.984 kB / 0.6574 GB, free: 4.426 MB / 474.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.003817/0.4591, allocations: 1.377 MB / 0.6587 GB, free: 3.031 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4591, allocations: 8 kB / 0.6587 GB, free: 3.023 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4592, allocations: 0 / 0.6587 GB, free: 3.023 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003048/0.4622, allocations: 0.8552 MB / 0.6596 GB, free: 2.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.4624, allocations: 39.92 kB / 0.6596 GB, free: 2.121 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004899/0.4673, allocations: 2.91 MB / 0.6624 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005376/0.4679, allocations: 59.72 kB / 0.6625 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.4679, allocations: 12 kB / 0.6625 GB, free: 15.01 MB / 490.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 () * 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 {8 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.4681, allocations: 117 kB / 0.6626 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.728e-05/0.4682, allocations: 43.48 kB / 0.6627 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00335/0.4715, allocations: 1.242 MB / 0.6639 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.4716, allocations: 4 kB / 0.6639 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4716, allocations: 4 kB / 0.6639 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.4716, allocations: 7.953 kB / 0.6639 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006581/0.4722, allocations: 0.5516 MB / 0.6644 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.4723, allocations: 0 / 0.6644 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/0.4725, allocations: 43.97 kB / 0.6645 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001954/0.4745, allocations: 0.6035 MB / 0.6651 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.4746, allocations: 8 kB / 0.6651 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002991/0.4776, allocations: 2.145 MB / 0.6672 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.4776, allocations: 3.953 kB / 0.6672 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003812/0.4814, allocations: 1.563 MB / 0.6687 GB, free: 8.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.4816, allocations: 128.5 kB / 0.6688 GB, free: 8.285 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.851e-05/0.4817, allocations: 12 kB / 0.6688 GB, free: 8.273 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004976/0.4822, allocations: 43.97 kB / 0.6689 GB, free: 8.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002338/0.4824, allocations: 87.83 kB / 0.669 GB, free: 8.145 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.4825, allocations: 8 kB / 0.669 GB, free: 8.137 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003513/0.4828, allocations: 305.2 kB / 0.6693 GB, free: 7.844 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4828, allocations: 0 / 0.6693 GB, free: 7.844 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005293/0.4834, allocations: 155.8 kB / 0.6694 GB, free: 7.691 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (motorTypeI.s,motorTypeI.e1r,motorTypeI.e1m,motorTypeI.e2r,motorTypeI.e2m) * Number of discrete variables: 0 () * Number of discrete 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.004137/0.4875, allocations: 2.128 MB / 0.6715 GB, free: 5.527 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002585/0.4901, allocations: 1.072 MB / 0.6725 GB, free: 4.398 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4901, allocations: 0 / 0.6725 GB, free: 4.398 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001653/0.4918, allocations: 0.7402 MB / 0.6733 GB, free: 3.602 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.4922, allocations: 33.5 kB / 0.6733 GB, free: 3.566 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.4942, allocations: 0.8824 MB / 0.6741 GB, free: 2.641 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.4947, allocations: 0.8305 MB / 0.675 GB, free: 1.781 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001468/0.4948, allocations: 26.97 kB / 0.675 GB, free: 1.758 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.495, allocations: 135.4 kB / 0.6751 GB, free: 1.625 MB / 490.7 MB Notification: Performance of SimCode: time 9.32e-07/0.4951, allocations: 0 / 0.6751 GB, free: 1.625 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2889/0.7839, allocations: 11.56 MB / 0.6864 GB, free: 116.3 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001364/0.7841, allocations: 199.1 kB / 0.6866 GB, free: 116 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.136/2.92, allocations: 0 / 0.6866 GB, free: 116 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)