Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_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.0009863/0.0009863, allocations: 174.6 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.233/1.233, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0007827/0.0007827, allocations: 96.44 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4478/0.4478, allocations: 78.9 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.031e-05, allocations: 4 kB / 492.9 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3162, allocations: 69.51 MB / 0.5492 GB, free: 19.66 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1136/0.4298, allocations: 92.59 MB / 0.6396 GB, free: 7.023 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/0.4301, allocations: 79.95 kB / 0.6397 GB, free: 6.945 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02386/0.454, allocations: 9.221 MB / 0.6487 GB, free: 13.66 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.454, allocations: 4 kB / 0.6487 GB, free: 13.66 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.454, allocations: 4 kB / 0.6487 GB, free: 13.66 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.001796/0.4558, allocations: 0.8145 MB / 0.6495 GB, free: 12.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.4559, allocations: 11.97 kB / 0.6495 GB, free: 12.79 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.094e-05/0.4559, allocations: 62.53 kB / 0.6496 GB, free: 12.71 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009584/0.4569, allocations: 195.2 kB / 0.6498 GB, free: 12.52 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/0.4574, allocations: 375.7 kB / 0.6501 GB, free: 12.11 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.4575, allocations: 83.95 kB / 0.6502 GB, free: 12.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.065e-05/0.4576, allocations: 24 kB / 0.6502 GB, free: 11.99 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005662/0.4582, allocations: 349.2 kB / 0.6506 GB, free: 11.64 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.4582, allocations: 0 / 0.6506 GB, free: 11.64 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.586e-05/0.4582, allocations: 8 kB / 0.6506 GB, free: 11.64 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.4583, allocations: 8 kB / 0.6506 GB, free: 11.63 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005393/0.4588, allocations: 330.2 kB / 0.6509 GB, free: 11.31 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.4608, allocations: 1.115 MB / 0.652 GB, free: 10.14 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007087/0.4679, allocations: 1.733 MB / 0.6537 GB, free: 8.395 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004125/0.4683, allocations: 220.8 kB / 0.6539 GB, free: 8.176 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-05/0.4684, allocations: 7.984 kB / 0.6539 GB, free: 8.168 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.4684, allocations: 39.16 kB / 0.6539 GB, free: 8.121 MB / 474.7 MB Notification: Performance of pre-optimization done (n=35): time 1.893e-06/0.4684, allocations: 0 / 0.6539 GB, free: 8.121 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.003468/0.4719, allocations: 1.163 MB / 0.6551 GB, free: 6.941 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.4719, allocations: 55.41 kB / 0.6551 GB, free: 6.875 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004606/0.4724, allocations: 351.7 kB / 0.6554 GB, free: 6.531 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/0.4724, allocations: 37.69 kB / 0.6555 GB, free: 6.488 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.4726, allocations: 204.5 kB / 0.6557 GB, free: 6.285 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.4727, allocations: 126.1 kB / 0.6558 GB, free: 6.16 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.4728, allocations: 8 kB / 0.6558 GB, free: 6.152 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4729, allocations: 354.7 kB / 0.6561 GB, free: 5.797 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.4732, allocations: 172.7 kB / 0.6563 GB, free: 5.625 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.4735, allocations: 173.3 kB / 0.6565 GB, free: 5.457 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.4738, allocations: 186.2 kB / 0.6566 GB, free: 5.277 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4738, allocations: 0 / 0.6566 GB, free: 5.277 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003588/0.4774, allocations: 1.288 MB / 0.6579 GB, free: 3.973 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.4774, allocations: 14.02 kB / 0.6579 GB, free: 3.961 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.4774, allocations: 4 kB / 0.6579 GB, free: 3.957 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002615/0.4801, allocations: 0.7305 MB / 0.6586 GB, free: 3.219 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.4803, allocations: 39.92 kB / 0.6587 GB, free: 3.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004356/0.4847, allocations: 2.668 MB / 0.6613 GB, free: 392 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005152/0.4852, allocations: 63.64 kB / 0.6613 GB, free: 328 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.4852, allocations: 8 kB / 0.6614 GB, free: 320 kB / 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 (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.000123/0.4854, allocations: 120.9 kB / 0.6615 GB, free: 192 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.209e-05/0.4855, allocations: 39.53 kB / 0.6615 GB, free: 152 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003367/0.4888, allocations: 1.214 MB / 0.6627 GB, free: 14.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4889, allocations: 15.92 kB / 0.6627 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4889, allocations: 4 kB / 0.6627 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.4889, allocations: 0 / 0.6627 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000617/0.4895, allocations: 0.5245 MB / 0.6632 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.4895, allocations: 3.953 kB / 0.6632 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.4898, allocations: 43.91 kB / 0.6633 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001927/0.4917, allocations: 0.5919 MB / 0.6638 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.4918, allocations: 8 kB / 0.6639 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002909/0.4947, allocations: 2.152 MB / 0.666 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.4947, allocations: 4.031 kB / 0.666 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003615/0.4983, allocations: 1.539 MB / 0.6675 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.4985, allocations: 124.5 kB / 0.6676 GB, free: 9.664 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/0.4986, allocations: 8 kB / 0.6676 GB, free: 9.656 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/0.499, allocations: 51.95 kB / 0.6676 GB, free: 9.605 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/0.4993, allocations: 91.8 kB / 0.6677 GB, free: 9.516 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.4993, allocations: 4 kB / 0.6677 GB, free: 9.512 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004/0.4998, allocations: 286.2 kB / 0.668 GB, free: 9.234 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4998, allocations: 3.938 kB / 0.668 GB, free: 9.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005832/0.5003, allocations: 147.8 kB / 0.6681 GB, free: 9.086 MB / 490.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 () * 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.004159/0.5045, allocations: 2.12 MB / 0.6702 GB, free: 6.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002382/0.5069, allocations: 1.01 MB / 0.6712 GB, free: 5.863 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.5069, allocations: 0 / 0.6712 GB, free: 5.863 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001512/0.5085, allocations: 0.7285 MB / 0.6719 GB, free: 5.078 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.5087, allocations: 29.33 kB / 0.6719 GB, free: 5.047 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.5102, allocations: 0.7294 MB / 0.6727 GB, free: 4.281 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.5106, allocations: 0.8266 MB / 0.6735 GB, free: 3.426 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.5107, allocations: 26.97 kB / 0.6735 GB, free: 3.398 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.5109, allocations: 135.4 kB / 0.6736 GB, free: 3.266 MB / 490.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5109, allocations: 0 / 0.6736 GB, free: 3.266 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.298/0.809, allocations: 10.89 MB / 0.6842 GB, free: 116.2 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/0.8092, allocations: 192.5 kB / 0.6844 GB, free: 116 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.073/2.882, allocations: 8.781 kB / 0.6844 GB, free: 116 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)