Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_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.001045/0.001045, allocations: 104 kB / 15.6 MB, free: 148 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.372/1.372, allocations: 222.9 MB / 239.3 MB, free: 4.602 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.001294/0.001294, allocations: 195.7 kB / 289.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5148/0.5148, allocations: 91.9 MB / 431.6 MB, free: 9.281 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 71.88 kB / 0.502 GB, free: 7.66 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3805, allocations: 71.28 MB / 0.5716 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.003186/0.3838, allocations: 2.8 MB / 0.5743 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.3852, allocations: 0.891 MB / 0.5752 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.3854, allocations: 6.094 kB / 0.5752 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.3857, allocations: 91.19 kB / 0.5753 GB, free: 34.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.386, allocations: 120.2 kB / 0.5754 GB, free: 34.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008604/0.3868, allocations: 451.7 kB / 0.5758 GB, free: 34.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003423/0.3872, allocations: 425.3 kB / 0.5762 GB, free: 34.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.3874, allocations: 95.61 kB / 0.5763 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.3875, allocations: 171.9 kB / 0.5765 GB, free: 34.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/0.3878, allocations: 226.2 kB / 0.5767 GB, free: 34.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.751e-05/0.3879, allocations: 34.72 kB / 0.5767 GB, free: 34.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.388, allocations: 80.55 kB / 0.5768 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.139e-05/0.3881, allocations: 87.44 kB / 0.5769 GB, free: 34.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.3882, allocations: 194.7 kB / 0.5771 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004184/0.3887, allocations: 0.4891 MB / 0.5776 GB, free: 33.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3887, allocations: 0 / 0.5776 GB, free: 33.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3887, allocations: 0.8125 kB / 0.5776 GB, free: 33.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3887, allocations: 0 / 0.5776 GB, free: 33.8 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.002702/0.3914, allocations: 1.021 MB / 0.5785 GB, free: 33.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3914, allocations: 8.656 kB / 0.5786 GB, free: 33.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.47e-05/0.3915, allocations: 62.75 kB / 0.5786 GB, free: 33.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.393, allocations: 254.8 kB / 0.5789 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.3934, allocations: 355.2 kB / 0.5792 GB, free: 32.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.654e-05/0.3935, allocations: 83.47 kB / 0.5793 GB, free: 32.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.427e-05/0.3936, allocations: 26.03 kB / 0.5793 GB, free: 32.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006564/0.3942, allocations: 370.6 kB / 0.5797 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3942, allocations: 0 / 0.5797 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.218e-05/0.3943, allocations: 4 kB / 0.5797 GB, free: 32.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.3943, allocations: 6.531 kB / 0.5797 GB, free: 32.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006275/0.3949, allocations: 365.4 kB / 0.58 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.3965, allocations: 1.028 MB / 0.581 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006187/0.4027, allocations: 1.358 MB / 0.5823 GB, free: 31.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000516/0.4033, allocations: 268.6 kB / 0.5826 GB, free: 31.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.201e-05/0.4033, allocations: 1.594 kB / 0.5826 GB, free: 31.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.4034, allocations: 32.56 kB / 0.5826 GB, free: 31.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 3.296e-06/0.4034, allocations: 0 / 0.5826 GB, free: 31.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.006482/0.4099, allocations: 1.989 MB / 0.5846 GB, free: 30.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.4099, allocations: 58.84 kB / 0.5846 GB, free: 30.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004408/0.4104, allocations: 317.1 kB / 0.5849 GB, free: 30.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.4104, allocations: 31.02 kB / 0.585 GB, free: 30.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.4106, allocations: 190.1 kB / 0.5851 GB, free: 30.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.4107, allocations: 118.1 kB / 0.5853 GB, free: 30.31 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.4108, allocations: 47.31 kB / 0.5853 GB, free: 30.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.421e-05/0.4109, allocations: 348.2 kB / 0.5856 GB, free: 29.94 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004847/0.4114, allocations: 221.3 kB / 0.5858 GB, free: 29.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.4118, allocations: 219.9 kB / 0.5861 GB, free: 29.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008839/0.4127, allocations: 471.3 kB / 0.5865 GB, free: 29.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.4127, allocations: 0 / 0.5865 GB, free: 29.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003902/0.4167, allocations: 1.251 MB / 0.5877 GB, free: 29.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.4167, allocations: 8.438 kB / 0.5877 GB, free: 29.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.4167, allocations: 3.938 kB / 0.5877 GB, free: 29.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002962/0.4197, allocations: 0.7505 MB / 0.5885 GB, free: 29.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.4199, allocations: 26.72 kB / 0.5885 GB, free: 29.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005187/0.4251, allocations: 3.147 MB / 0.5916 GB, free: 26.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005244/0.4256, allocations: 50.91 kB / 0.5916 GB, free: 26.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.4257, allocations: 6.125 kB / 0.5916 GB, free: 26.96 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.0001717/0.4258, allocations: 152 kB / 0.5918 GB, free: 26.81 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.52e-05/0.4259, allocations: 36.22 kB / 0.5918 GB, free: 26.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003708/0.4296, allocations: 1.212 MB / 0.593 GB, free: 26.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.4297, allocations: 3.25 kB / 0.593 GB, free: 26.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4297, allocations: 3.328 kB / 0.593 GB, free: 26.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4297, allocations: 3.938 kB / 0.593 GB, free: 26.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005089/0.4302, allocations: 0.5174 MB / 0.5935 GB, free: 26.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.4302, allocations: 3.938 kB / 0.5935 GB, free: 26.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.4304, allocations: 29.44 kB / 0.5935 GB, free: 26.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002487/0.4329, allocations: 0.671 MB / 0.5942 GB, free: 25.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/0.433, allocations: 8.719 kB / 0.5942 GB, free: 25.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004133/0.4371, allocations: 2.694 MB / 0.5968 GB, free: 24.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.4371, allocations: 0 / 0.5968 GB, free: 24.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004406/0.4415, allocations: 1.582 MB / 0.5984 GB, free: 23.44 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.4417, allocations: 117.2 kB / 0.5985 GB, free: 23.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.565e-05/0.4417, allocations: 7.047 kB / 0.5985 GB, free: 23.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/0.4421, allocations: 36.33 kB / 0.5985 GB, free: 23.31 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002546/0.4424, allocations: 84.25 kB / 0.5986 GB, free: 23.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.4424, allocations: 14.28 kB / 0.5986 GB, free: 23.28 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002331/0.4427, allocations: 229.2 kB / 0.5988 GB, free: 23.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4427, allocations: 0 / 0.5988 GB, free: 23.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005371/0.4432, allocations: 141.5 kB / 0.599 GB, free: 23.14 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.004681/0.4479, allocations: 2.127 MB / 0.6011 GB, free: 22.03 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002507/0.4505, allocations: 0.9932 MB / 0.602 GB, free: 21.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4505, allocations: 0 / 0.602 GB, free: 21.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001605/0.4521, allocations: 0.7176 MB / 0.6027 GB, free: 21.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.4525, allocations: 27.83 kB / 0.6028 GB, free: 21.01 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01702/0.4695, allocations: 5.662 MB / 0.6083 GB, free: 18.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.4699, allocations: 0.7884 MB / 0.6091 GB, free: 17.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.47, allocations: 24.94 kB / 0.6091 GB, free: 17.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.4702, allocations: 107.7 kB / 0.6092 GB, free: 17.66 MB / 430.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4702, allocations: 1.281 kB / 0.6092 GB, free: 17.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07743/0.5476, allocations: 11.36 MB / 0.6203 GB, free: 12.1 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.65, allocations: 3.938 kB / 0.6203 GB, free: 12.1 MB / 430.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)