Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_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.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 238.8 MB, free: 4.75 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.002042/0.002042, allocations: 184.5 kB / 289.1 MB, free: 2.508 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.468/0.468, allocations: 78.53 MB / 417.8 MB, free: 3.367 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 79.88 kB / 496.9 MB, free: 6.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1475, allocations: 68.18 MB / 0.5518 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.2951/0.4427, allocations: 2.931 MB / 0.5547 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.4443, allocations: 0.9048 MB / 0.5555 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.4444, allocations: 5.656 kB / 0.5555 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.4448, allocations: 74.8 kB / 0.5556 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.445, allocations: 96.22 kB / 0.5557 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007971/0.4459, allocations: 431.2 kB / 0.5561 GB, free: 37.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003409/0.4462, allocations: 407.4 kB / 0.5565 GB, free: 37.63 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.4464, allocations: 78.5 kB / 0.5566 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.4465, allocations: 154.2 kB / 0.5567 GB, free: 37.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.4468, allocations: 219.9 kB / 0.5569 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/0.4468, allocations: 20.34 kB / 0.557 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.447, allocations: 74.39 kB / 0.557 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.951e-05/0.4471, allocations: 76.5 kB / 0.5571 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.4472, allocations: 179.2 kB / 0.5573 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.4476, allocations: 479.8 kB / 0.5577 GB, free: 37.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4476, allocations: 0 / 0.5577 GB, free: 37.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.4476, allocations: 2.812 kB / 0.5577 GB, free: 37.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.4476, allocations: 0.5312 kB / 0.5577 GB, free: 37.39 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.00273/0.4504, allocations: 1.021 MB / 0.5587 GB, free: 36.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4504, allocations: 9.75 kB / 0.5587 GB, free: 36.89 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.376e-05/0.4505, allocations: 59.17 kB / 0.5588 GB, free: 36.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.4521, allocations: 258.5 kB / 0.559 GB, free: 36.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.4525, allocations: 355.2 kB / 0.5594 GB, free: 36.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.792e-05/0.4526, allocations: 86.64 kB / 0.5595 GB, free: 36.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/0.4526, allocations: 22.66 kB / 0.5595 GB, free: 36.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007256/0.4534, allocations: 364.4 kB / 0.5598 GB, free: 36.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.4534, allocations: 0 / 0.5598 GB, free: 36.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.4534, allocations: 9.5 kB / 0.5598 GB, free: 36.49 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.4534, allocations: 10.33 kB / 0.5599 GB, free: 36.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006833/0.4541, allocations: 362.3 kB / 0.5602 GB, free: 36.48 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.4558, allocations: 1.029 MB / 0.5612 GB, free: 36.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006364/0.4622, allocations: 1.359 MB / 0.5625 GB, free: 36.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005139/0.4627, allocations: 261.1 kB / 0.5628 GB, free: 36.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.771e-05/0.4628, allocations: 3.094 kB / 0.5628 GB, free: 36.15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.4628, allocations: 37.12 kB / 0.5628 GB, free: 36.11 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 2.775e-06/0.4628, allocations: 0 / 0.5628 GB, free: 36.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.006278/0.4691, allocations: 1.986 MB / 0.5648 GB, free: 35.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.4692, allocations: 54.31 kB / 0.5648 GB, free: 35.67 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.4695, allocations: 320.5 kB / 0.5651 GB, free: 35.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.4695, allocations: 36.05 kB / 0.5652 GB, free: 35.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.4696, allocations: 188.7 kB / 0.5653 GB, free: 35.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.596e-05/0.4697, allocations: 109.6 kB / 0.5654 GB, free: 35.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.4699, allocations: 52.41 kB / 0.5655 GB, free: 35.33 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.888e-05/0.4699, allocations: 349.4 kB / 0.5658 GB, free: 35.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004195/0.4704, allocations: 217.7 kB / 0.566 GB, free: 35.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/0.4708, allocations: 220 kB / 0.5662 GB, free: 35.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008131/0.4716, allocations: 474.6 kB / 0.5667 GB, free: 34.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4716, allocations: 0 / 0.5667 GB, free: 34.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003812/0.4754, allocations: 1.251 MB / 0.5679 GB, free: 34.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.4755, allocations: 5.688 kB / 0.5679 GB, free: 34.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.4755, allocations: 0 / 0.5679 GB, free: 34.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00311/0.4786, allocations: 0.7614 MB / 0.5687 GB, free: 34.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.4789, allocations: 29.25 kB / 0.5687 GB, free: 34.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004822/0.4837, allocations: 2.877 MB / 0.5715 GB, free: 33.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005264/0.4842, allocations: 61.33 kB / 0.5716 GB, free: 33.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.4843, allocations: 5.875 kB / 0.5716 GB, free: 33.5 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 (21): * Single equations (assignments): 18 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001789/0.4845, allocations: 146 kB / 0.5717 GB, free: 33.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/0.4845, allocations: 35.31 kB / 0.5717 GB, free: 33.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00351/0.488, allocations: 1.217 MB / 0.5729 GB, free: 33.26 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.4881, allocations: 3.125 kB / 0.5729 GB, free: 33.26 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4881, allocations: 3.438 kB / 0.5729 GB, free: 33.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.4881, allocations: 3.469 kB / 0.5729 GB, free: 33.26 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004572/0.4885, allocations: 0.5214 MB / 0.5734 GB, free: 33.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4886, allocations: 2.812 kB / 0.5734 GB, free: 33.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.4888, allocations: 31.08 kB / 0.5735 GB, free: 33.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002308/0.4911, allocations: 0.6725 MB / 0.5741 GB, free: 33 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.4911, allocations: 14.62 kB / 0.5741 GB, free: 33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003526/0.4946, allocations: 2.464 MB / 0.5766 GB, free: 31.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4947, allocations: 3.844 kB / 0.5766 GB, free: 31.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004059/0.4987, allocations: 1.565 MB / 0.5781 GB, free: 31.51 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.372e-05/0.4988, allocations: 120.9 kB / 0.5782 GB, free: 31.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.743e-05/0.4989, allocations: 9.438 kB / 0.5782 GB, free: 31.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/0.4993, allocations: 37.17 kB / 0.5782 GB, free: 31.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002394/0.4996, allocations: 83.95 kB / 0.5783 GB, free: 31.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.4996, allocations: 8.844 kB / 0.5783 GB, free: 31.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002311/0.4998, allocations: 233.5 kB / 0.5786 GB, free: 31.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4999, allocations: 0 / 0.5786 GB, free: 31.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005509/0.5004, allocations: 136.8 kB / 0.5787 GB, free: 31.24 MB / 430.1 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 () * Number of clocked 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 (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.004477/0.5049, allocations: 2.123 MB / 0.5808 GB, free: 30.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002278/0.5072, allocations: 0.9829 MB / 0.5817 GB, free: 29.61 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5072, allocations: 1.281 kB / 0.5817 GB, free: 29.61 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.5087, allocations: 0.7129 MB / 0.5824 GB, free: 29.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.5092, allocations: 31.66 kB / 0.5824 GB, free: 29.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01682/0.526, allocations: 5.768 MB / 0.5881 GB, free: 26.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.5263, allocations: 0.7925 MB / 0.5889 GB, free: 25.81 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.5264, allocations: 20.91 kB / 0.5889 GB, free: 25.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.5266, allocations: 114.8 kB / 0.589 GB, free: 25.71 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5266, allocations: 0 / 0.589 GB, free: 25.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.5536, allocations: 10.47 MB / 0.5992 GB, free: 24.92 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.5538, allocations: 242.8 kB / 0.5994 GB, free: 24.67 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.573, allocations: 2.109 kB / 0.5994 GB, free: 24.67 MB / 430.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)