Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_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.001608/0.001608, allocations: 174.8 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.381/1.381, 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.001041/0.001041, allocations: 98.47 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.4505/0.4505, allocations: 78.08 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.202e-05/3.206e-05, allocations: 4 kB / 491.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3639, allocations: 69.34 MB / 0.5481 GB, free: 20.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1396/0.5035, allocations: 92.01 MB / 0.6379 GB, free: 8.531 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.5038, allocations: 75.95 kB / 0.638 GB, free: 8.457 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03595/0.5398, allocations: 9.108 MB / 0.6469 GB, free: 15.29 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.5398, allocations: 0 / 0.6469 GB, free: 15.29 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.743e-05/0.5399, allocations: 8 kB / 0.6469 GB, free: 15.28 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.00305/0.543, allocations: 0.8159 MB / 0.6477 GB, free: 14.42 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.777e-05/0.543, allocations: 11.97 kB / 0.6477 GB, free: 14.41 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002008/0.5432, allocations: 66.53 kB / 0.6478 GB, free: 14.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/0.5451, allocations: 191.2 kB / 0.648 GB, free: 14.15 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.5463, allocations: 371.7 kB / 0.6483 GB, free: 13.74 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001919/0.5465, allocations: 87.95 kB / 0.6484 GB, free: 13.64 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.5466, allocations: 28 kB / 0.6484 GB, free: 13.62 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.5476, allocations: 341.2 kB / 0.6488 GB, free: 13.28 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.5477, allocations: 7.984 kB / 0.6488 GB, free: 13.27 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-05/0.5477, allocations: 12 kB / 0.6488 GB, free: 13.26 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.5478, allocations: 4 kB / 0.6488 GB, free: 13.25 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009566/0.5487, allocations: 326.2 kB / 0.6491 GB, free: 12.93 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003352/0.5521, allocations: 1.131 MB / 0.6502 GB, free: 11.75 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/0.563, allocations: 1.72 MB / 0.6519 GB, free: 10.02 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007219/0.5638, allocations: 221.4 kB / 0.6521 GB, free: 9.797 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-05/0.5639, allocations: 4 kB / 0.6521 GB, free: 9.793 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.564, allocations: 42.42 kB / 0.6521 GB, free: 9.742 MB / 474.7 MB Notification: Performance of pre-optimization done (n=35): time 3.787e-06/0.564, allocations: 4 kB / 0.6521 GB, free: 9.738 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.005426/0.5694, allocations: 1.163 MB / 0.6533 GB, free: 8.559 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.5695, allocations: 55.41 kB / 0.6533 GB, free: 8.492 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007729/0.5703, allocations: 347.6 kB / 0.6537 GB, free: 8.152 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.565e-05/0.5704, allocations: 29.7 kB / 0.6537 GB, free: 8.117 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.5706, allocations: 212.5 kB / 0.6539 GB, free: 7.906 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.5708, allocations: 126.2 kB / 0.654 GB, free: 7.781 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.5708, allocations: 4 kB / 0.654 GB, free: 7.777 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.571, allocations: 346.8 kB / 0.6543 GB, free: 7.43 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/0.5715, allocations: 176.7 kB / 0.6545 GB, free: 7.254 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004883/0.572, allocations: 173.3 kB / 0.6547 GB, free: 7.086 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005403/0.5726, allocations: 194.1 kB / 0.6549 GB, free: 6.898 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5726, allocations: 0 / 0.6549 GB, free: 6.898 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.005767/0.5784, allocations: 1.288 MB / 0.6561 GB, free: 5.594 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.5784, allocations: 6.344 kB / 0.6561 GB, free: 5.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.5784, allocations: 0 / 0.6561 GB, free: 5.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004177/0.5826, allocations: 0.7401 MB / 0.6568 GB, free: 4.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.583, allocations: 39.92 kB / 0.6569 GB, free: 4.801 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006817/0.5898, allocations: 2.662 MB / 0.6595 GB, free: 2.008 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007725/0.5906, allocations: 71.64 kB / 0.6596 GB, free: 1.938 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.389e-05/0.5907, allocations: 8 kB / 0.6596 GB, free: 1.93 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 (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.0001754/0.5908, allocations: 121 kB / 0.6597 GB, free: 1.805 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.591, allocations: 35.53 kB / 0.6597 GB, free: 1.77 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005305/0.5963, allocations: 1.222 MB / 0.6609 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.5963, allocations: 4 kB / 0.6609 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.5964, allocations: 0 / 0.6609 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.5964, allocations: 4 kB / 0.6609 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.5974, allocations: 0.5284 MB / 0.6614 GB, free: 15.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.5975, allocations: 3.953 kB / 0.6614 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004092/0.5979, allocations: 39.97 kB / 0.6615 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003121/0.601, allocations: 0.5918 MB / 0.662 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/0.6011, allocations: 8 kB / 0.6621 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004887/0.606, allocations: 2.148 MB / 0.6642 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.606, allocations: 0 / 0.6642 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006131/0.6122, allocations: 1.543 MB / 0.6657 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.6125, allocations: 128.5 kB / 0.6658 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.663e-05/0.6126, allocations: 4 kB / 0.6658 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007257/0.6133, allocations: 43.95 kB / 0.6658 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003879/0.6137, allocations: 99.73 kB / 0.6659 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.6138, allocations: 8 kB / 0.6659 GB, free: 11.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004684/0.6143, allocations: 286.2 kB / 0.6662 GB, free: 10.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6143, allocations: 0 / 0.6662 GB, free: 10.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005582/0.6149, allocations: 143.8 kB / 0.6663 GB, free: 10.72 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.004431/0.6193, allocations: 2.12 MB / 0.6684 GB, free: 8.562 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002509/0.6218, allocations: 1.018 MB / 0.6694 GB, free: 7.488 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.6218, allocations: 0 / 0.6694 GB, free: 7.488 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001694/0.6235, allocations: 0.7323 MB / 0.6701 GB, free: 6.699 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.6239, allocations: 25.34 kB / 0.6701 GB, free: 6.672 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.6254, allocations: 0.7309 MB / 0.6709 GB, free: 5.906 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.6257, allocations: 0.8188 MB / 0.6717 GB, free: 5.055 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.6259, allocations: 26.97 kB / 0.6717 GB, free: 5.027 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.6261, allocations: 135.4 kB / 0.6718 GB, free: 4.898 MB / 490.7 MB Notification: Performance of SimCode: time 2.91e-07/0.6261, allocations: 0 / 0.6718 GB, free: 4.898 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3256/0.9518, allocations: 10.9 MB / 0.6825 GB, free: 117 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/0.952, allocations: 206.7 kB / 0.6827 GB, free: 116.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.284/3.236, allocations: 0 / 0.6827 GB, free: 116.8 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)