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.0009795/0.0009794, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 221.5 MB / 229.6 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009541/0.0009541, allocations: 87.41 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4967/0.4967, allocations: 78.07 MB / 409.3 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.941e-05/1.944e-05, allocations: 7.938 kB / 485 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1578, allocations: 69.35 MB / 0.5414 GB, free: 6.738 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5157/0.6736, allocations: 90.79 MB / 0.63 GB, free: 8.664 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.6739, allocations: 75.97 kB / 0.6301 GB, free: 8.59 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02077/0.6947, allocations: 7.859 MB / 0.6378 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.248e-06/0.6947, allocations: 1.031 kB / 0.6378 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.6947, allocations: 7.938 kB / 0.6378 GB, free: 0.8398 MB / 442.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.001799/0.6965, allocations: 0.7724 MB / 0.6385 GB, free: 28 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.6966, allocations: 11.97 kB / 0.6386 GB, free: 16 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009851/0.6976, allocations: 179.4 kB / 0.6387 GB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.698, allocations: 319.8 kB / 0.639 GB, free: 15.49 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.6982, allocations: 79.89 kB / 0.6391 GB, free: 15.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.174e-05/0.6982, allocations: 17.09 kB / 0.6391 GB, free: 15.39 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004942/0.6987, allocations: 301.1 kB / 0.6394 GB, free: 15.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004707/0.6992, allocations: 276.1 kB / 0.6397 GB, free: 14.81 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.6992, allocations: 0 / 0.6397 GB, free: 14.81 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.6993, allocations: 4.891 kB / 0.6397 GB, free: 14.81 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.6993, allocations: 4 kB / 0.6397 GB, free: 14.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.7012, allocations: 0.9898 MB / 0.6407 GB, free: 13.78 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00696/0.7081, allocations: 1.698 MB / 0.6423 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/0.7084, allocations: 195.7 kB / 0.6425 GB, free: 11.88 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.668e-05/0.7085, allocations: 4 kB / 0.6425 GB, free: 11.88 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.7086, allocations: 38.52 kB / 0.6425 GB, free: 11.83 MB / 458.7 MB Notification: Performance of pre-optimization done (n=31): time 1.844e-06/0.7086, allocations: 7.938 kB / 0.6425 GB, free: 11.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=31): time 0.003473/0.712, allocations: 1.148 MB / 0.6437 GB, free: 10.66 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.7121, allocations: 55.41 kB / 0.6437 GB, free: 10.59 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.7124, allocations: 265.9 kB / 0.644 GB, free: 10.32 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.7124, allocations: 25.7 kB / 0.644 GB, free: 10.29 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.7126, allocations: 192.4 kB / 0.6442 GB, free: 10.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.285e-05/0.7127, allocations: 102.4 kB / 0.6443 GB, free: 9.996 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.7127, allocations: 0 / 0.6443 GB, free: 9.996 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.7129, allocations: 346.8 kB / 0.6446 GB, free: 9.648 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.7131, allocations: 156.6 kB / 0.6448 GB, free: 9.492 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.7133, allocations: 156.8 kB / 0.6449 GB, free: 9.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.7136, allocations: 170.8 kB / 0.6451 GB, free: 9.176 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7136, allocations: 4 kB / 0.6451 GB, free: 9.172 MB / 458.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00361/0.7172, allocations: 1.236 MB / 0.6463 GB, free: 7.922 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.7173, allocations: 4 kB / 0.6463 GB, free: 7.918 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.7173, allocations: 4 kB / 0.6463 GB, free: 7.914 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002707/0.72, allocations: 0.7173 MB / 0.647 GB, free: 7.188 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.7202, allocations: 35.92 kB / 0.647 GB, free: 7.152 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004016/0.7242, allocations: 2.575 MB / 0.6495 GB, free: 4.469 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004921/0.7247, allocations: 56.69 kB / 0.6496 GB, free: 4.414 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.7248, allocations: 5.016 kB / 0.6496 GB, free: 4.41 MB / 458.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.0001414/0.7249, allocations: 118.3 kB / 0.6497 GB, free: 4.289 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003334/0.7283, allocations: 1.151 MB / 0.6508 GB, free: 3.121 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.212e-05/0.7283, allocations: 35.61 kB / 0.6509 GB, free: 3.086 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003444/0.7318, allocations: 1.187 MB / 0.652 GB, free: 1.879 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.954e-06/0.7318, allocations: 7.953 kB / 0.652 GB, free: 1.871 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.7318, allocations: 0 / 0.652 GB, free: 1.871 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.7318, allocations: 0 / 0.652 GB, free: 1.871 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005481/0.7324, allocations: 482.9 kB / 0.6525 GB, free: 1.363 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.7324, allocations: 0 / 0.6525 GB, free: 1.363 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.7326, allocations: 31.92 kB / 0.6525 GB, free: 1.332 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002228/0.7348, allocations: 0.6387 MB / 0.6532 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.7349, allocations: 0 / 0.6532 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003097/0.738, allocations: 2.201 MB / 0.6553 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.738, allocations: 0 / 0.6553 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003675/0.7417, allocations: 1.506 MB / 0.6568 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.7418, allocations: 121.9 kB / 0.6569 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.7419, allocations: 0 / 0.6569 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.7423, allocations: 44.89 kB / 0.6569 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/0.7425, allocations: 83.84 kB / 0.657 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.7425, allocations: 8 kB / 0.657 GB, free: 12.57 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002192/0.7428, allocations: 212.6 kB / 0.6572 GB, free: 12.37 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7428, allocations: 0 / 0.6572 GB, free: 12.37 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005445/0.7433, allocations: 139.8 kB / 0.6574 GB, free: 12.23 MB / 474.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.004229/0.7476, allocations: 2.073 MB / 0.6594 GB, free: 10.12 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002072/0.7497, allocations: 0.9073 MB / 0.6603 GB, free: 9.156 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.7497, allocations: 0 / 0.6603 GB, free: 9.156 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001547/0.7512, allocations: 0.6888 MB / 0.6609 GB, free: 8.414 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.7515, allocations: 22.11 kB / 0.661 GB, free: 8.391 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005986/0.7575, allocations: 0.9355 MB / 0.6619 GB, free: 7.414 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.7579, allocations: 0.8029 MB / 0.6627 GB, free: 6.586 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.874e-05/0.758, allocations: 14.08 kB / 0.6627 GB, free: 6.574 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.7582, allocations: 114.2 kB / 0.6628 GB, free: 6.469 MB / 474.7 MB Notification: Performance of SimCode: time 4.21e-07/0.7582, allocations: 0 / 0.6628 GB, free: 6.469 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.7864, allocations: 9.23 MB / 0.6718 GB, free: 13.35 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/0.7867, allocations: 146.4 kB / 0.6719 GB, free: 13.16 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.258/3.045, allocations: 1.969 kB / 0.6719 GB, free: 13.16 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)