Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_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/Complex 3.2.3+maint.om/package.mo): time 0.005547/0.005547, allocations: 173.8 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.4 MB / 221.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008412/0.0008412, allocations: 86.86 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06457/0.06457, allocations: 12.2 MB / 330.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4254/0.4254, allocations: 78.52 MB / 459.6 MB, free: 3.992 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004719/0.0004719, allocations: 17.31 kB / 0.528 GB, free: 35.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1069, allocations: 69.24 MB / 0.5956 GB, free: 4.258 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1082/0.2151, allocations: 93.05 MB / 0.6865 GB, free: 7.086 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.2153, allocations: 75.97 kB / 0.6866 GB, free: 7.012 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2252/0.4406, allocations: 7.735 MB / 0.6941 GB, free: 96.47 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4406, allocations: 3.625 kB / 0.6941 GB, free: 96.47 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.4406, allocations: 5.688 kB / 0.6941 GB, free: 96.47 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001714/0.4424, allocations: 0.8262 MB / 0.6949 GB, free: 95.99 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.4424, allocations: 18.73 kB / 0.695 GB, free: 95.98 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.033e-05/0.4425, allocations: 61.27 kB / 0.695 GB, free: 95.95 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009153/0.4434, allocations: 182.2 kB / 0.6952 GB, free: 95.92 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.4437, allocations: 331 kB / 0.6955 GB, free: 95.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.984e-05/0.4438, allocations: 87.73 kB / 0.6956 GB, free: 95.63 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/0.4439, allocations: 24.56 kB / 0.6956 GB, free: 95.63 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006438/0.4445, allocations: 387.6 kB / 0.696 GB, free: 95.59 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.4445, allocations: 0 / 0.696 GB, free: 95.59 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.4446, allocations: 12.33 kB / 0.696 GB, free: 95.59 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.4446, allocations: 5.656 kB / 0.696 GB, free: 95.59 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006255/0.4452, allocations: 394.6 kB / 0.6964 GB, free: 95.59 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.4468, allocations: 1.045 MB / 0.6974 GB, free: 95.29 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006446/0.4532, allocations: 1.825 MB / 0.6992 GB, free: 95.17 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.457e-05/0.4533, allocations: 6.609 kB / 0.6992 GB, free: 95.17 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.4534, allocations: 33.53 kB / 0.6992 GB, free: 95.13 MB / 474.7 MB Notification: Performance of pre-optimization done (n=31): time 3.396e-06/0.4534, allocations: 0 / 0.6992 GB, free: 95.13 MB / 474.7 MB Notification: Performance of matching and sorting (n=31): time 0.006719/0.4601, allocations: 2.383 MB / 0.7015 GB, free: 94.68 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.4601, allocations: 55.22 kB / 0.7016 GB, free: 94.62 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.4605, allocations: 281 kB / 0.7019 GB, free: 94.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.4605, allocations: 35.2 kB / 0.7019 GB, free: 94.49 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.254e-05/0.4606, allocations: 182.5 kB / 0.7021 GB, free: 94.39 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.042e-05/0.4607, allocations: 111.5 kB / 0.7022 GB, free: 94.32 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.4607, allocations: 8.875 kB / 0.7022 GB, free: 94.31 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.17e-05/0.4608, allocations: 346.3 kB / 0.7025 GB, free: 94 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004449/0.4612, allocations: 239.9 kB / 0.7027 GB, free: 93.99 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/0.4617, allocations: 243.7 kB / 0.703 GB, free: 93.99 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004226/0.4621, allocations: 246.9 kB / 0.7032 GB, free: 93.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4621, allocations: 0 / 0.7032 GB, free: 93.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004062/0.4662, allocations: 1.503 MB / 0.7047 GB, free: 93.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.4662, allocations: 2.938 kB / 0.7047 GB, free: 93.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.4662, allocations: 3.188 kB / 0.7047 GB, free: 93.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003052/0.4693, allocations: 0.8857 MB / 0.7056 GB, free: 93.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.4695, allocations: 29.31 kB / 0.7056 GB, free: 93.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005355/0.4749, allocations: 3.167 MB / 0.7087 GB, free: 92.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005384/0.4754, allocations: 55.47 kB / 0.7087 GB, free: 92.42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.4755, allocations: 7.844 kB / 0.7087 GB, free: 92.42 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 () * 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 (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 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001691/0.4756, allocations: 149.7 kB / 0.7089 GB, free: 92.31 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.386e-05/0.4757, allocations: 39.77 kB / 0.7089 GB, free: 92.29 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003945/0.4797, allocations: 1.453 MB / 0.7103 GB, free: 92.14 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.4797, allocations: 3.875 kB / 0.7103 GB, free: 92.14 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4797, allocations: 6.25 kB / 0.7103 GB, free: 92.14 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4797, allocations: 3.953 kB / 0.7103 GB, free: 92.14 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.4802, allocations: 0.5107 MB / 0.7108 GB, free: 91.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.4802, allocations: 5.625 kB / 0.7109 GB, free: 91.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.4804, allocations: 30.39 kB / 0.7109 GB, free: 91.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002531/0.4829, allocations: 0.7962 MB / 0.7117 GB, free: 91.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.899e-05/0.483, allocations: 13.06 kB / 0.7117 GB, free: 91.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004176/0.4872, allocations: 2.742 MB / 0.7143 GB, free: 90.31 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4872, allocations: 0 / 0.7143 GB, free: 90.31 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004325/0.4915, allocations: 1.836 MB / 0.7161 GB, free: 89.71 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.4917, allocations: 118.8 kB / 0.7163 GB, free: 89.59 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.937e-05/0.4918, allocations: 5.375 kB / 0.7163 GB, free: 89.58 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004191/0.4922, allocations: 45.75 kB / 0.7163 GB, free: 89.57 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/0.4924, allocations: 88.61 kB / 0.7164 GB, free: 89.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.4924, allocations: 5.438 kB / 0.7164 GB, free: 89.56 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002096/0.4927, allocations: 230.2 kB / 0.7166 GB, free: 89.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4927, allocations: 0 / 0.7166 GB, free: 89.43 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005119/0.4932, allocations: 156.4 kB / 0.7168 GB, free: 89.41 MB / 474.7 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 (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.004162/0.4974, allocations: 2.393 MB / 0.7191 GB, free: 88.27 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002143/0.4995, allocations: 1.098 MB / 0.7202 GB, free: 87.64 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4995, allocations: 0 / 0.7202 GB, free: 87.64 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001498/0.501, allocations: 0.7933 MB / 0.7209 GB, free: 87.09 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.5013, allocations: 27.08 kB / 0.721 GB, free: 87.07 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.5121, allocations: 3.837 MB / 0.7247 GB, free: 84.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.5123, allocations: 0.7956 MB / 0.7255 GB, free: 83.38 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.939e-05/0.5124, allocations: 21.94 kB / 0.7255 GB, free: 83.36 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.5126, allocations: 107.4 kB / 0.7256 GB, free: 83.25 MB / 474.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5126, allocations: 0 / 0.7256 GB, free: 83.25 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.5336, allocations: 10.19 MB / 0.7356 GB, free: 73.3 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/0.5338, allocations: 232 kB / 0.7358 GB, free: 73.06 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/2.578, allocations: 0 / 0.7358 GB, free: 73.06 MB / 474.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)