Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_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.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_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.005068/0.005068, allocations: 168.3 kB / 15.13 MB, free: 6.023 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.366/1.366, allocations: 223.2 MB / 239.1 MB, free: 1.727 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.0007669/0.000767, allocations: 94.52 kB / 290.3 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5001/0.5001, allocations: 78.62 MB / 420 MB, free: 44.2 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003694, allocations: 8 kB / 500 MB, free: 2.789 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5111/0.5115, allocations: 69.34 MB / 0.556 GB, free: 38.37 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.003266/0.5149, allocations: 2.682 MB / 0.5586 GB, free: 38.2 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.5166, allocations: 0.9203 MB / 0.5595 GB, free: 38.09 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.5168, allocations: 3.812 kB / 0.5595 GB, free: 38.09 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.5171, allocations: 72.89 kB / 0.5596 GB, free: 38.06 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003336/0.5174, allocations: 132.8 kB / 0.5597 GB, free: 38.01 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000913/0.5183, allocations: 373.3 kB / 0.5601 GB, free: 37.96 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006066/0.519, allocations: 490.9 kB / 0.5605 GB, free: 37.86 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.5192, allocations: 85.83 kB / 0.5606 GB, free: 37.83 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003014/0.5195, allocations: 192.1 kB / 0.5608 GB, free: 37.78 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004843/0.52, allocations: 263.7 kB / 0.561 GB, free: 37.73 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.945e-05/0.5201, allocations: 24.88 kB / 0.5611 GB, free: 37.73 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002033/0.5203, allocations: 78.06 kB / 0.5611 GB, free: 37.72 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.5204, allocations: 93.22 kB / 0.5612 GB, free: 37.7 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 9.291e-05/0.5205, allocations: 97.06 kB / 0.5613 GB, free: 37.66 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006556/0.5211, allocations: 442.1 kB / 0.5617 GB, free: 37.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.5212, allocations: 0 / 0.5617 GB, free: 37.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5212, allocations: 2.344 kB / 0.5617 GB, free: 37.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.5212, allocations: 1.125 kB / 0.5617 GB, free: 37.62 MB / 426.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.003472/0.5247, allocations: 1.1 MB / 0.5628 GB, free: 37.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.5247, allocations: 9.766 kB / 0.5628 GB, free: 37.1 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.844e-05/0.5248, allocations: 65.09 kB / 0.5629 GB, free: 37.06 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/0.5265, allocations: 270.7 kB / 0.5632 GB, free: 37.03 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.5272, allocations: 412.5 kB / 0.5635 GB, free: 36.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/0.5274, allocations: 91.91 kB / 0.5636 GB, free: 36.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-05/0.5275, allocations: 27.97 kB / 0.5637 GB, free: 36.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.5286, allocations: 428 kB / 0.5641 GB, free: 36.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.5286, allocations: 8.922 kB / 0.5641 GB, free: 36.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-05/0.5286, allocations: 10.72 kB / 0.5641 GB, free: 36.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.5287, allocations: 10.38 kB / 0.5641 GB, free: 36.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009714/0.5296, allocations: 414.9 kB / 0.5645 GB, free: 36.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.5318, allocations: 1.156 MB / 0.5656 GB, free: 35.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007155/0.539, allocations: 1.836 MB / 0.5674 GB, free: 35.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005519/0.5396, allocations: 313.6 kB / 0.5677 GB, free: 35.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.299e-05/0.5396, allocations: 5.688 kB / 0.5677 GB, free: 35.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.5397, allocations: 41.92 kB / 0.5678 GB, free: 35.53 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 2.104e-06/0.5397, allocations: 0 / 0.5678 GB, free: 35.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.006556/0.5462, allocations: 2.387 MB / 0.5701 GB, free: 34.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.5463, allocations: 56.97 kB / 0.5701 GB, free: 34.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006073/0.5469, allocations: 417.4 kB / 0.5705 GB, free: 34.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.5469, allocations: 36.36 kB / 0.5706 GB, free: 34.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.5471, allocations: 210.9 kB / 0.5708 GB, free: 34.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.5472, allocations: 129.7 kB / 0.5709 GB, free: 34.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.5472, allocations: 4 kB / 0.5709 GB, free: 34.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.032e-05/0.5473, allocations: 351.4 kB / 0.5712 GB, free: 33.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004976/0.5478, allocations: 260.4 kB / 0.5715 GB, free: 33.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004918/0.5483, allocations: 266.6 kB / 0.5717 GB, free: 33.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006143/0.549, allocations: 274.6 kB / 0.572 GB, free: 33.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.549, allocations: 1.031 kB / 0.572 GB, free: 33.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004479/0.5535, allocations: 1.622 MB / 0.5736 GB, free: 33.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.5535, allocations: 7.125 kB / 0.5736 GB, free: 33.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.5535, allocations: 0 / 0.5736 GB, free: 33.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003413/0.5569, allocations: 1.005 MB / 0.5746 GB, free: 32.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.5572, allocations: 37.48 kB / 0.5746 GB, free: 32.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00614/0.5633, allocations: 3.289 MB / 0.5778 GB, free: 30.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007066/0.5641, allocations: 69.09 kB / 0.5779 GB, free: 30.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.5641, allocations: 10.03 kB / 0.5779 GB, free: 30.9 MB / 426.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 () * Number of clocked 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 {8 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002637/0.5644, allocations: 152.2 kB / 0.578 GB, free: 30.76 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.558e-05/0.5645, allocations: 43.77 kB / 0.5781 GB, free: 30.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003982/0.5685, allocations: 1.471 MB / 0.5795 GB, free: 30.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.5685, allocations: 5.25 kB / 0.5795 GB, free: 30.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.5685, allocations: 0 / 0.5795 GB, free: 30.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.5685, allocations: 6.578 kB / 0.5795 GB, free: 30.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006768/0.5692, allocations: 0.5499 MB / 0.5801 GB, free: 30 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5692, allocations: 0 / 0.5801 GB, free: 30 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.5695, allocations: 45.58 kB / 0.5801 GB, free: 29.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002245/0.5717, allocations: 0.7431 MB / 0.5808 GB, free: 29.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/0.5718, allocations: 6.625 kB / 0.5808 GB, free: 29.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003826/0.5756, allocations: 2.532 MB / 0.5833 GB, free: 28.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.5757, allocations: 3.953 kB / 0.5833 GB, free: 28.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004895/0.5806, allocations: 1.864 MB / 0.5851 GB, free: 27.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/0.5809, allocations: 130.5 kB / 0.5853 GB, free: 27.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.944e-05/0.581, allocations: 7 kB / 0.5853 GB, free: 27.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005086/0.5815, allocations: 54.09 kB / 0.5853 GB, free: 27.37 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002679/0.5818, allocations: 90.14 kB / 0.5854 GB, free: 27.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.5818, allocations: 9.547 kB / 0.5854 GB, free: 27.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000471/0.5823, allocations: 304.5 kB / 0.5857 GB, free: 27.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5823, allocations: 0 / 0.5857 GB, free: 27.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007335/0.583, allocations: 147.3 kB / 0.5859 GB, free: 27.17 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (motorTypeI.s,motorTypeI.e1r,motorTypeI.e1m,motorTypeI.e2r,motorTypeI.e2m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.004872/0.5879, allocations: 2.427 MB / 0.5882 GB, free: 26.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003334/0.5913, allocations: 1.216 MB / 0.5894 GB, free: 25.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5913, allocations: 0 / 0.5894 GB, free: 25.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001979/0.5933, allocations: 0.8207 MB / 0.5902 GB, free: 24.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/0.5938, allocations: 41.64 kB / 0.5903 GB, free: 24.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00949/0.6033, allocations: 4.247 MB / 0.5944 GB, free: 23.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.6037, allocations: 0.8267 MB / 0.5952 GB, free: 22.33 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000169/0.6039, allocations: 28.73 kB / 0.5952 GB, free: 22.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.6041, allocations: 140 kB / 0.5954 GB, free: 22.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.493e-06/0.6041, allocations: 0 / 0.5954 GB, free: 22.23 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03263/0.6368, allocations: 11.56 MB / 0.6067 GB, free: 20.72 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.637, allocations: 239.7 kB / 0.6069 GB, free: 20.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/3.182, allocations: 5.156 kB / 0.6069 GB, free: 20.48 MB / 426.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)