Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 222.9 MB / 239.3 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 196.5 kB / 289.6 MB, free: 2.305 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5253/0.5253, allocations: 78.53 MB / 418.2 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002523/0.002523, allocations: 75.88 kB / 497.5 MB, free: 6.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2024, allocations: 68.18 MB / 0.5525 GB, free: 2.082 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.3791/0.5816, allocations: 3.04 MB / 0.5554 GB, free: 37.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.5834, allocations: 0.9756 MB / 0.5564 GB, free: 37.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.5837, allocations: 4.344 kB / 0.5564 GB, free: 37.56 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.584, allocations: 100.9 kB / 0.5565 GB, free: 37.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000347/0.5844, allocations: 155.4 kB / 0.5566 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.5855, allocations: 466.3 kB / 0.5571 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006515/0.5861, allocations: 0.5363 MB / 0.5576 GB, free: 37.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002789/0.5864, allocations: 91.8 kB / 0.5577 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003105/0.5867, allocations: 221.2 kB / 0.5579 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004781/0.5872, allocations: 296.9 kB / 0.5582 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.5873, allocations: 46.88 kB / 0.5582 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.5876, allocations: 107.1 kB / 0.5583 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.5877, allocations: 119.9 kB / 0.5585 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.5879, allocations: 234.1 kB / 0.5587 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005738/0.5885, allocations: 0.585 MB / 0.5593 GB, free: 37.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5885, allocations: 0 / 0.5593 GB, free: 37.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5885, allocations: 0.7188 kB / 0.5593 GB, free: 37.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.5885, allocations: 1.438 kB / 0.5593 GB, free: 37.05 MB / 430.1 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.003709/0.5922, allocations: 1.15 MB / 0.5604 GB, free: 36.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.555e-05/0.5923, allocations: 14.88 kB / 0.5604 GB, free: 36.52 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.617e-05/0.5924, allocations: 66.61 kB / 0.5605 GB, free: 36.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/0.5941, allocations: 269.7 kB / 0.5607 GB, free: 36.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006074/0.5947, allocations: 420.4 kB / 0.5611 GB, free: 36.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.5948, allocations: 90.66 kB / 0.5612 GB, free: 36.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.011e-05/0.5949, allocations: 33.78 kB / 0.5612 GB, free: 36.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008892/0.5958, allocations: 406.5 kB / 0.5616 GB, free: 36.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.5959, allocations: 3.531 kB / 0.5616 GB, free: 36.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.292e-05/0.5959, allocations: 7.562 kB / 0.5616 GB, free: 36.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.5959, allocations: 12.25 kB / 0.5616 GB, free: 36.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007608/0.5967, allocations: 387.5 kB / 0.562 GB, free: 36.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.5987, allocations: 1.132 MB / 0.5631 GB, free: 35.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006849/0.6055, allocations: 1.363 MB / 0.5644 GB, free: 35.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006107/0.6062, allocations: 289.1 kB / 0.5647 GB, free: 35.72 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.409e-05/0.6063, allocations: 5.562 kB / 0.5647 GB, free: 35.72 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.6063, allocations: 42.09 kB / 0.5648 GB, free: 35.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 4.048e-06/0.6063, allocations: 0 / 0.5648 GB, free: 35.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.00641/0.6127, allocations: 1.98 MB / 0.5667 GB, free: 35.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.6128, allocations: 58.34 kB / 0.5668 GB, free: 35.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004782/0.6133, allocations: 426.6 kB / 0.5672 GB, free: 35.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.6133, allocations: 36.92 kB / 0.5672 GB, free: 35.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.6135, allocations: 212.8 kB / 0.5674 GB, free: 34.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.6136, allocations: 122.5 kB / 0.5675 GB, free: 34.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.6137, allocations: 57.61 kB / 0.5676 GB, free: 34.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.6139, allocations: 353.7 kB / 0.5679 GB, free: 34.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005197/0.6144, allocations: 239.3 kB / 0.5681 GB, free: 34.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004961/0.6149, allocations: 245.6 kB / 0.5684 GB, free: 34.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.6159, allocations: 0.5078 MB / 0.5689 GB, free: 34.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.616, allocations: 0 / 0.5689 GB, free: 34.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004401/0.6204, allocations: 1.376 MB / 0.5702 GB, free: 34.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.6204, allocations: 9.188 kB / 0.5702 GB, free: 34.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.6204, allocations: 0 / 0.5702 GB, free: 34.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003376/0.6238, allocations: 0.8854 MB / 0.5711 GB, free: 34.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.624, allocations: 35.45 kB / 0.5711 GB, free: 34.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006239/0.6303, allocations: 3.396 MB / 0.5744 GB, free: 32.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005179/0.6308, allocations: 41.67 kB / 0.5745 GB, free: 32.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.6309, allocations: 16.31 kB / 0.5745 GB, free: 32.89 MB / 430.1 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002237/0.6311, allocations: 145.8 kB / 0.5746 GB, free: 32.78 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.6312, allocations: 47.03 kB / 0.5747 GB, free: 32.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003691/0.6349, allocations: 1.229 MB / 0.5759 GB, free: 32.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.6349, allocations: 5.562 kB / 0.5759 GB, free: 32.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6349, allocations: 2.875 kB / 0.5759 GB, free: 32.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.6349, allocations: 5.578 kB / 0.5759 GB, free: 32.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006154/0.6356, allocations: 0.5547 MB / 0.5764 GB, free: 32.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.6356, allocations: 0 / 0.5764 GB, free: 32.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.6358, allocations: 35.98 kB / 0.5765 GB, free: 32.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002151/0.638, allocations: 0.6339 MB / 0.5771 GB, free: 32.4 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/0.6381, allocations: 6.219 kB / 0.5771 GB, free: 32.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004091/0.6422, allocations: 2.558 MB / 0.5796 GB, free: 30.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6422, allocations: 0 / 0.5796 GB, free: 30.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004601/0.6468, allocations: 1.608 MB / 0.5812 GB, free: 30.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.6469, allocations: 126.6 kB / 0.5813 GB, free: 30.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.065e-05/0.647, allocations: 7 kB / 0.5813 GB, free: 30.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004663/0.6475, allocations: 38.45 kB / 0.5813 GB, free: 30 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/0.6477, allocations: 86.83 kB / 0.5814 GB, free: 29.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.6477, allocations: 8.531 kB / 0.5814 GB, free: 29.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003349/0.6481, allocations: 309.2 kB / 0.5817 GB, free: 29.83 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6481, allocations: 0 / 0.5817 GB, free: 29.83 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005837/0.6487, allocations: 150.4 kB / 0.5819 GB, free: 29.8 MB / 430.1 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005189/0.6539, allocations: 2.166 MB / 0.584 GB, free: 28.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003808/0.6577, allocations: 1.147 MB / 0.5851 GB, free: 28.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6577, allocations: 0 / 0.5851 GB, free: 28.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001845/0.6596, allocations: 0.736 MB / 0.5858 GB, free: 27.65 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.66, allocations: 36.23 kB / 0.5858 GB, free: 27.63 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/0.675, allocations: 6.115 MB / 0.5918 GB, free: 24.71 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.6754, allocations: 0.8168 MB / 0.5926 GB, free: 24.01 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001754/0.6755, allocations: 29.45 kB / 0.5926 GB, free: 24.01 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/0.6759, allocations: 141.4 kB / 0.5928 GB, free: 23.9 MB / 430.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6759, allocations: 2.188 kB / 0.5928 GB, free: 23.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04845/0.7243, allocations: 12.77 MB / 0.6053 GB, free: 21.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.12, allocations: 16.45 kB / 0.6053 GB, free: 21.59 MB / 430.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)