Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_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.0009716/0.0009714, allocations: 174.1 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.253/1.253, allocations: 221.4 MB / 234.6 MB, free: 14.38 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.0009152/0.0009151, allocations: 93.86 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4478/0.4478, allocations: 78.02 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.042e-05/3.044e-05, allocations: 7.984 kB / 491.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3045, allocations: 69.35 MB / 0.548 GB, free: 20.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.4175, allocations: 91.46 MB / 0.6374 GB, free: 8.957 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.4177, allocations: 75.95 kB / 0.6374 GB, free: 8.883 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02054/0.4383, allocations: 7.98 MB / 0.6452 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4383, allocations: 0 / 0.6452 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.4383, allocations: 12 kB / 0.6452 GB, free: 0.8359 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.00188/0.4402, allocations: 0.767 MB / 0.646 GB, free: 24 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.4403, allocations: 11.97 kB / 0.646 GB, free: 12 kB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.4404, allocations: 58.55 kB / 0.6461 GB, free: 15.95 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009844/0.4414, allocations: 179.4 kB / 0.6462 GB, free: 15.77 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004634/0.4419, allocations: 324 kB / 0.6465 GB, free: 15.41 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.442, allocations: 87.95 kB / 0.6466 GB, free: 15.32 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.4421, allocations: 27.91 kB / 0.6467 GB, free: 15.29 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005512/0.4426, allocations: 313.2 kB / 0.647 GB, free: 14.97 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.4427, allocations: 3.953 kB / 0.647 GB, free: 14.97 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.4427, allocations: 8 kB / 0.647 GB, free: 14.96 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.4427, allocations: 8 kB / 0.647 GB, free: 14.95 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000516/0.4432, allocations: 306.1 kB / 0.6473 GB, free: 14.66 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.4451, allocations: 1.037 MB / 0.6483 GB, free: 13.57 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007129/0.4523, allocations: 1.712 MB / 0.6499 GB, free: 11.84 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003616/0.4527, allocations: 204.9 kB / 0.6501 GB, free: 11.64 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.83e-05/0.4527, allocations: 4 kB / 0.6501 GB, free: 11.64 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.4528, allocations: 34.56 kB / 0.6502 GB, free: 11.59 MB / 474.7 MB Notification: Performance of pre-optimization done (n=31): time 2.485e-06/0.4528, allocations: 4 kB / 0.6502 GB, free: 11.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=31): time 0.00363/0.4564, allocations: 1.159 MB / 0.6513 GB, free: 10.41 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.4565, allocations: 63.34 kB / 0.6514 GB, free: 10.34 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/0.4568, allocations: 282.8 kB / 0.6516 GB, free: 10.05 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.4569, allocations: 33.7 kB / 0.6517 GB, free: 10.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.457, allocations: 184.4 kB / 0.6519 GB, free: 9.832 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.4571, allocations: 114.3 kB / 0.652 GB, free: 9.719 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/0.4572, allocations: 8 kB / 0.652 GB, free: 9.711 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4573, allocations: 342.8 kB / 0.6523 GB, free: 9.367 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.4576, allocations: 164.6 kB / 0.6525 GB, free: 9.203 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.4578, allocations: 161.1 kB / 0.6526 GB, free: 9.047 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.4581, allocations: 169.4 kB / 0.6528 GB, free: 8.883 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4581, allocations: 4 kB / 0.6528 GB, free: 8.879 MB / 474.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003705/0.4618, allocations: 1.262 MB / 0.654 GB, free: 7.602 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.4619, allocations: 11.94 kB / 0.654 GB, free: 7.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4619, allocations: 0 / 0.654 GB, free: 7.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002833/0.4647, allocations: 0.7362 MB / 0.6547 GB, free: 6.844 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.4649, allocations: 31.94 kB / 0.6548 GB, free: 6.812 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004388/0.4693, allocations: 2.672 MB / 0.6574 GB, free: 4.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005285/0.4699, allocations: 63.72 kB / 0.6574 GB, free: 3.957 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.4699, allocations: 15.94 kB / 0.6575 GB, free: 3.941 MB / 474.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 (21): * Single equations (assignments): 18 * 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 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.47, allocations: 120.8 kB / 0.6576 GB, free: 3.82 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.811e-05/0.4701, allocations: 35.61 kB / 0.6576 GB, free: 3.785 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003545/0.4737, allocations: 1.222 MB / 0.6588 GB, free: 2.543 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.4737, allocations: 4 kB / 0.6588 GB, free: 2.539 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4737, allocations: 8 kB / 0.6588 GB, free: 2.531 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.4737, allocations: 3.984 kB / 0.6588 GB, free: 2.527 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000579/0.4743, allocations: 0.5164 MB / 0.6593 GB, free: 1.961 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.4743, allocations: 0 / 0.6593 GB, free: 1.961 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.4745, allocations: 31.92 kB / 0.6593 GB, free: 1.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002328/0.4769, allocations: 0.6426 MB / 0.66 GB, free: 1.277 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.245e-05/0.4769, allocations: 8 kB / 0.66 GB, free: 1.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003454/0.4804, allocations: 2.266 MB / 0.6622 GB, free: 14.87 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4804, allocations: 0 / 0.6622 GB, free: 14.87 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00397/0.4844, allocations: 1.532 MB / 0.6637 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.4845, allocations: 120.5 kB / 0.6638 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/0.4846, allocations: 8 kB / 0.6638 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004453/0.4851, allocations: 47.98 kB / 0.6639 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/0.4853, allocations: 87.81 kB / 0.6639 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.4853, allocations: 8 kB / 0.6639 GB, free: 13.03 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002485/0.4856, allocations: 230.1 kB / 0.6642 GB, free: 12.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4856, allocations: 0 / 0.6642 GB, free: 12.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005305/0.4861, allocations: 151.8 kB / 0.6643 GB, free: 12.66 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (motorTypeI.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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.004278/0.4904, allocations: 2.089 MB / 0.6664 GB, free: 10.53 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.4925, allocations: 0.9276 MB / 0.6673 GB, free: 9.543 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4925, allocations: 0 / 0.6673 GB, free: 9.543 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.4941, allocations: 0.7207 MB / 0.668 GB, free: 8.766 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.4944, allocations: 17.22 kB / 0.668 GB, free: 8.746 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005805/0.5002, allocations: 0.9436 MB / 0.6689 GB, free: 7.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.5005, allocations: 0.8031 MB / 0.6697 GB, free: 6.941 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.616e-05/0.5007, allocations: 18.08 kB / 0.6697 GB, free: 6.926 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.5008, allocations: 107.4 kB / 0.6698 GB, free: 6.82 MB / 490.7 MB Notification: Performance of SimCode: time 2.765e-06/0.5008, allocations: 0 / 0.6698 GB, free: 6.82 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2918/0.7926, allocations: 10.17 MB / 0.6797 GB, free: 118.4 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/0.7928, allocations: 189.5 kB / 0.6799 GB, free: 118.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.113/2.906, allocations: 3.281 kB / 0.6799 GB, free: 118.2 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)