Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_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.001296/0.001296, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.555/1.555, allocations: 222.9 MB / 239 MB, free: 4.738 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.001686/0.001686, allocations: 180.5 kB / 289.3 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5957/0.5957, allocations: 91.9 MB / 431.3 MB, free: 9.398 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 75.88 kB / 0.5015 GB, free: 7.969 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.4534, allocations: 71.26 MB / 0.5711 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.003567/0.457, allocations: 3.225 MB / 0.5742 GB, free: 34.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.4584, allocations: 0.9763 MB / 0.5752 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.4586, allocations: 2.531 kB / 0.5752 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.4589, allocations: 86.48 kB / 0.5753 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.4592, allocations: 125.7 kB / 0.5754 GB, free: 34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008241/0.46, allocations: 438 kB / 0.5758 GB, free: 33.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004188/0.4604, allocations: 0.5342 MB / 0.5763 GB, free: 33.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.4606, allocations: 99.52 kB / 0.5764 GB, free: 33.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.4608, allocations: 221 kB / 0.5766 GB, free: 33.65 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003002/0.4612, allocations: 300.3 kB / 0.5769 GB, free: 33.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.036e-05/0.4612, allocations: 50.84 kB / 0.577 GB, free: 33.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/0.4614, allocations: 100.5 kB / 0.5771 GB, free: 33.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.959e-05/0.4615, allocations: 114.6 kB / 0.5772 GB, free: 33.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.4616, allocations: 241.5 kB / 0.5774 GB, free: 33.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000455/0.4621, allocations: 0.5834 MB / 0.578 GB, free: 33.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4621, allocations: 0 / 0.578 GB, free: 33.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4621, allocations: 1.125 kB / 0.578 GB, free: 33.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.4621, allocations: 0 / 0.578 GB, free: 33.11 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.003076/0.4652, allocations: 1.156 MB / 0.5791 GB, free: 32.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.4653, allocations: 10.91 kB / 0.5791 GB, free: 32.47 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.306e-05/0.4653, allocations: 63.12 kB / 0.5792 GB, free: 32.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.4669, allocations: 276.5 kB / 0.5794 GB, free: 32.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.4673, allocations: 415.5 kB / 0.5798 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.4674, allocations: 97.61 kB / 0.5799 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.331e-05/0.4675, allocations: 30.88 kB / 0.58 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007203/0.4682, allocations: 406.5 kB / 0.5803 GB, free: 31.78 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.4682, allocations: 3.812 kB / 0.5803 GB, free: 31.78 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.4683, allocations: 10.5 kB / 0.5804 GB, free: 31.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.4683, allocations: 7.938 kB / 0.5804 GB, free: 31.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006682/0.469, allocations: 390.5 kB / 0.5807 GB, free: 31.64 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/0.4707, allocations: 1.125 MB / 0.5818 GB, free: 31.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006194/0.4769, allocations: 1.369 MB / 0.5832 GB, free: 30.81 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005051/0.4774, allocations: 285.2 kB / 0.5834 GB, free: 30.69 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.818e-05/0.4775, allocations: 4.438 kB / 0.5834 GB, free: 30.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.4775, allocations: 39.72 kB / 0.5835 GB, free: 30.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.723e-06/0.4775, allocations: 1.406 kB / 0.5835 GB, free: 30.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.006125/0.4837, allocations: 1.983 MB / 0.5854 GB, free: 29.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.4837, allocations: 59.09 kB / 0.5855 GB, free: 29.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000545/0.4843, allocations: 425.9 kB / 0.5859 GB, free: 29.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.4843, allocations: 30.92 kB / 0.5859 GB, free: 29.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.4845, allocations: 209.2 kB / 0.5861 GB, free: 29.44 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.4846, allocations: 118.3 kB / 0.5862 GB, free: 29.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.4847, allocations: 67.73 kB / 0.5863 GB, free: 29.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.263e-05/0.4848, allocations: 351.8 kB / 0.5866 GB, free: 28.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004598/0.4853, allocations: 234.8 kB / 0.5869 GB, free: 28.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/0.4857, allocations: 245.6 kB / 0.5871 GB, free: 28.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009755/0.4867, allocations: 0.5114 MB / 0.5876 GB, free: 28.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4867, allocations: 3.938 kB / 0.5876 GB, free: 28.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004227/0.491, allocations: 1.363 MB / 0.5889 GB, free: 28.19 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.491, allocations: 8.625 kB / 0.5889 GB, free: 28.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.491, allocations: 5.156 kB / 0.5889 GB, free: 28.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003582/0.4946, allocations: 0.8942 MB / 0.5898 GB, free: 28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.4948, allocations: 36.73 kB / 0.5898 GB, free: 28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006776/0.5016, allocations: 3.389 MB / 0.5932 GB, free: 25.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005902/0.5022, allocations: 45.16 kB / 0.5932 GB, free: 25.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/0.5023, allocations: 20.05 kB / 0.5932 GB, free: 25.78 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.0002531/0.5025, allocations: 145.1 kB / 0.5934 GB, free: 25.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.5027, allocations: 51.41 kB / 0.5934 GB, free: 25.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003904/0.5066, allocations: 1.235 MB / 0.5946 GB, free: 25.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.5066, allocations: 4.406 kB / 0.5946 GB, free: 25.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.5066, allocations: 6.219 kB / 0.5946 GB, free: 25.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.5066, allocations: 1.641 kB / 0.5946 GB, free: 25.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006597/0.5073, allocations: 0.5524 MB / 0.5952 GB, free: 24.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5073, allocations: 0.5625 kB / 0.5952 GB, free: 24.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002877/0.5076, allocations: 36.09 kB / 0.5952 GB, free: 24.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002269/0.5099, allocations: 0.6292 MB / 0.5958 GB, free: 24.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.143e-05/0.5099, allocations: 6.438 kB / 0.5958 GB, free: 24.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003954/0.5139, allocations: 2.55 MB / 0.5983 GB, free: 22.92 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5139, allocations: 0.9688 kB / 0.5983 GB, free: 22.92 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004476/0.5184, allocations: 1.608 MB / 0.5999 GB, free: 22.33 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.5185, allocations: 126.4 kB / 0.6 GB, free: 22.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.263e-05/0.5186, allocations: 6.094 kB / 0.6 GB, free: 22.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004846/0.5191, allocations: 32.17 kB / 0.6 GB, free: 22.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000267/0.5193, allocations: 87.08 kB / 0.6001 GB, free: 22.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/0.5194, allocations: 14.52 kB / 0.6001 GB, free: 22.17 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004283/0.5198, allocations: 305.8 kB / 0.6004 GB, free: 22.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5198, allocations: 0 / 0.6004 GB, free: 22.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006558/0.5205, allocations: 156 kB / 0.6006 GB, free: 21.99 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.004798/0.5253, allocations: 2.166 MB / 0.6027 GB, free: 20.85 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003487/0.5288, allocations: 1.159 MB / 0.6038 GB, free: 20.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.5288, allocations: 0 / 0.6038 GB, free: 20.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001925/0.5307, allocations: 0.7327 MB / 0.6045 GB, free: 19.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/0.5313, allocations: 33.05 kB / 0.6046 GB, free: 19.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/0.5463, allocations: 6.265 MB / 0.6107 GB, free: 16.62 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.5467, allocations: 0.8189 MB / 0.6115 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001722/0.5469, allocations: 28.7 kB / 0.6115 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.5472, allocations: 142.3 kB / 0.6116 GB, free: 15.8 MB / 430.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5472, allocations: 0 / 0.6116 GB, free: 15.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03443/0.5816, allocations: 12.35 MB / 0.6237 GB, free: 8.129 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001468/0.5818, allocations: 247.3 kB / 0.6239 GB, free: 7.875 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.117/2.698, allocations: 0 / 0.6239 GB, free: 7.875 MB / 430.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)