Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_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.001342/0.001342, allocations: 180.9 kB / 7.65 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.409/1.409, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.0008683/0.0008683, allocations: 78.83 kB / 280.4 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4499/0.4499, allocations: 78.11 MB / 409.4 MB, free: 6.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.704e-05/1.7e-05, allocations: 4 kB / 485.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1304, allocations: 69.36 MB / 0.5414 GB, free: 6.844 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3915/0.5219, allocations: 90.78 MB / 0.6301 GB, free: 8.91 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.5221, allocations: 75.95 kB / 0.6301 GB, free: 8.836 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02111/0.5433, allocations: 7.863 MB / 0.6378 GB, free: 1.094 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5433, allocations: 3.938 kB / 0.6378 GB, free: 1.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.5433, allocations: 8.875 kB / 0.6378 GB, free: 1.082 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.001783/0.5451, allocations: 0.7662 MB / 0.6386 GB, free: 288 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.5451, allocations: 13.25 kB / 0.6386 GB, free: 276 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.5462, allocations: 179.4 kB / 0.6388 GB, free: 96 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.5466, allocations: 315.9 kB / 0.6391 GB, free: 15.75 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.5467, allocations: 79.89 kB / 0.6391 GB, free: 15.66 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.544e-05/0.5468, allocations: 19.91 kB / 0.6392 GB, free: 15.64 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005111/0.5473, allocations: 289.1 kB / 0.6394 GB, free: 15.36 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000493/0.5478, allocations: 280.1 kB / 0.6397 GB, free: 15.08 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.5479, allocations: 3.984 kB / 0.6397 GB, free: 15.07 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.5479, allocations: 3.953 kB / 0.6397 GB, free: 15.07 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.5479, allocations: 8 kB / 0.6397 GB, free: 15.06 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.5497, allocations: 0.9937 MB / 0.6407 GB, free: 14.03 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007001/0.5568, allocations: 1.69 MB / 0.6423 GB, free: 12.33 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/0.5571, allocations: 198.7 kB / 0.6425 GB, free: 12.13 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.147e-05/0.5572, allocations: 1.406 kB / 0.6425 GB, free: 12.13 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.5572, allocations: 46.45 kB / 0.6426 GB, free: 12.08 MB / 458.7 MB Notification: Performance of pre-optimization done (n=31): time 2.315e-06/0.5572, allocations: 0 / 0.6426 GB, free: 12.08 MB / 458.7 MB Notification: Performance of matching and sorting (n=31): time 0.003517/0.5607, allocations: 1.148 MB / 0.6437 GB, free: 10.91 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.5608, allocations: 55.41 kB / 0.6438 GB, free: 10.85 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.5611, allocations: 269.2 kB / 0.644 GB, free: 10.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.5611, allocations: 25.7 kB / 0.644 GB, free: 10.54 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.5613, allocations: 184.4 kB / 0.6442 GB, free: 10.36 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.5614, allocations: 106.4 kB / 0.6443 GB, free: 10.25 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.5614, allocations: 0 / 0.6443 GB, free: 10.25 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.5615, allocations: 350.8 kB / 0.6446 GB, free: 9.902 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.5618, allocations: 152.6 kB / 0.6448 GB, free: 9.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.562, allocations: 156.8 kB / 0.6449 GB, free: 9.598 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/0.5623, allocations: 173.9 kB / 0.6451 GB, free: 9.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5623, allocations: 0 / 0.6451 GB, free: 9.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003743/0.5661, allocations: 1.235 MB / 0.6463 GB, free: 8.18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.5661, allocations: 4 kB / 0.6463 GB, free: 8.176 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.5661, allocations: 0 / 0.6463 GB, free: 8.176 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0028/0.5689, allocations: 0.7245 MB / 0.647 GB, free: 7.441 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.5691, allocations: 31.92 kB / 0.6471 GB, free: 7.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004077/0.5732, allocations: 2.572 MB / 0.6496 GB, free: 4.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000551/0.5738, allocations: 60.48 kB / 0.6496 GB, free: 4.672 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.5738, allocations: 12.06 kB / 0.6496 GB, free: 4.66 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.0001448/0.574, allocations: 108.9 kB / 0.6497 GB, free: 4.547 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003402/0.5774, allocations: 1.151 MB / 0.6509 GB, free: 3.379 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.546e-05/0.5775, allocations: 31.62 kB / 0.6509 GB, free: 3.348 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003428/0.5809, allocations: 1.184 MB / 0.6521 GB, free: 2.145 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.581, allocations: 7.953 kB / 0.6521 GB, free: 2.137 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.581, allocations: 4 kB / 0.6521 GB, free: 2.133 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.581, allocations: 0.8438 kB / 0.6521 GB, free: 2.133 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005719/0.5816, allocations: 481.4 kB / 0.6525 GB, free: 1.625 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5816, allocations: 0 / 0.6525 GB, free: 1.625 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.5818, allocations: 32.86 kB / 0.6526 GB, free: 1.594 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002289/0.5841, allocations: 0.6472 MB / 0.6532 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.5841, allocations: 0 / 0.6532 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003195/0.5873, allocations: 2.208 MB / 0.6553 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5874, allocations: 0 / 0.6553 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003916/0.5913, allocations: 1.506 MB / 0.6568 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.5914, allocations: 118.2 kB / 0.6569 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.838e-05/0.5915, allocations: 7.984 kB / 0.6569 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004519/0.592, allocations: 40.03 kB / 0.657 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/0.5922, allocations: 79.84 kB / 0.657 GB, free: 12.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.5922, allocations: 8 kB / 0.6571 GB, free: 12.82 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002231/0.5924, allocations: 212.6 kB / 0.6573 GB, free: 12.62 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5925, allocations: 0 / 0.6573 GB, free: 12.62 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000533/0.593, allocations: 143.8 kB / 0.6574 GB, free: 12.48 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.004115/0.5971, allocations: 2.061 MB / 0.6594 GB, free: 10.38 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002032/0.5992, allocations: 0.9073 MB / 0.6603 GB, free: 9.418 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5992, allocations: 0 / 0.6603 GB, free: 9.418 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.6007, allocations: 0.7005 MB / 0.661 GB, free: 8.664 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.601, allocations: 17.17 kB / 0.661 GB, free: 8.648 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006162/0.6072, allocations: 0.937 MB / 0.6619 GB, free: 7.672 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.6075, allocations: 0.799 MB / 0.6627 GB, free: 6.848 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.763e-05/0.6076, allocations: 14.92 kB / 0.6627 GB, free: 6.836 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.6078, allocations: 111.4 kB / 0.6628 GB, free: 6.727 MB / 474.7 MB Notification: Performance of SimCode: time 4.81e-07/0.6078, allocations: 4 kB / 0.6628 GB, free: 6.723 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.6365, allocations: 9.235 MB / 0.6718 GB, free: 13.59 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.6368, allocations: 155.9 kB / 0.672 GB, free: 13.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/2.693, allocations: 1.266 kB / 0.672 GB, free: 13.4 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)