Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_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.001273/0.001273, 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.365/1.365, allocations: 222.9 MB / 239 MB, free: 4.719 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.001601/0.001601, allocations: 192.5 kB / 289.3 MB, free: 2.449 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5562/0.5562, allocations: 91.89 MB / 431.3 MB, free: 9.371 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002434/0.002434, allocations: 76.16 kB / 0.5015 GB, free: 7.93 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4685/0.471, allocations: 71.27 MB / 0.5711 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.003939/0.475, allocations: 3.146 MB / 0.5742 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.4767, allocations: 0.9657 MB / 0.5751 GB, free: 34.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.4768, allocations: 3.438 kB / 0.5751 GB, free: 34.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.4772, allocations: 82 kB / 0.5752 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.4775, allocations: 121.8 kB / 0.5753 GB, free: 34.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009241/0.4784, allocations: 427.3 kB / 0.5757 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004743/0.4789, allocations: 0.4983 MB / 0.5762 GB, free: 34.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.4792, allocations: 101.5 kB / 0.5763 GB, free: 34.06 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002503/0.4794, allocations: 205.3 kB / 0.5765 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003417/0.4798, allocations: 284.2 kB / 0.5768 GB, free: 33.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.375e-05/0.4799, allocations: 44.19 kB / 0.5768 GB, free: 33.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.48, allocations: 96.27 kB / 0.5769 GB, free: 33.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.547e-05/0.4801, allocations: 111 kB / 0.577 GB, free: 33.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.4803, allocations: 229.3 kB / 0.5772 GB, free: 33.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005361/0.4809, allocations: 0.5591 MB / 0.5778 GB, free: 33.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.4809, allocations: 3 kB / 0.5778 GB, free: 33.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.4809, allocations: 1.469 kB / 0.5778 GB, free: 33.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.4809, allocations: 3.938 kB / 0.5778 GB, free: 33.33 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.003183/0.4841, allocations: 1.11 MB / 0.5789 GB, free: 32.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.4842, allocations: 10.66 kB / 0.5789 GB, free: 32.72 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.709e-05/0.4842, allocations: 65.7 kB / 0.5789 GB, free: 32.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/0.4858, allocations: 279.2 kB / 0.5792 GB, free: 32.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/0.4862, allocations: 398.6 kB / 0.5796 GB, free: 32.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.4864, allocations: 90.25 kB / 0.5797 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.586e-05/0.4864, allocations: 24.81 kB / 0.5797 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007691/0.4872, allocations: 403.7 kB / 0.5801 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.4872, allocations: 0 / 0.5801 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/0.4873, allocations: 10.88 kB / 0.5801 GB, free: 32.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.4873, allocations: 6.031 kB / 0.5801 GB, free: 32.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007304/0.488, allocations: 392.1 kB / 0.5805 GB, free: 31.9 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001886/0.4899, allocations: 1.1 MB / 0.5815 GB, free: 31.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006219/0.4962, allocations: 1.386 MB / 0.5829 GB, free: 31.06 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005233/0.4967, allocations: 273.1 kB / 0.5831 GB, free: 30.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.507e-05/0.4968, allocations: 6.844 kB / 0.5832 GB, free: 30.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.4968, allocations: 42.5 kB / 0.5832 GB, free: 30.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.054e-06/0.4968, allocations: 3.938 kB / 0.5832 GB, free: 30.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.006097/0.5029, allocations: 1.953 MB / 0.5851 GB, free: 30.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.503, allocations: 58.91 kB / 0.5852 GB, free: 30.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004932/0.5035, allocations: 398.5 kB / 0.5855 GB, free: 29.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.5035, allocations: 31.11 kB / 0.5856 GB, free: 29.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.5037, allocations: 201.4 kB / 0.5858 GB, free: 29.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.5038, allocations: 121.8 kB / 0.5859 GB, free: 29.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.5039, allocations: 58.36 kB / 0.5859 GB, free: 29.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.45e-05/0.504, allocations: 352.6 kB / 0.5863 GB, free: 29.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/0.5045, allocations: 229.7 kB / 0.5865 GB, free: 29.19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004382/0.5049, allocations: 230.8 kB / 0.5867 GB, free: 29.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000918/0.5058, allocations: 499.4 kB / 0.5872 GB, free: 28.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5059, allocations: 0 / 0.5872 GB, free: 28.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00389/0.5098, allocations: 1.284 MB / 0.5884 GB, free: 28.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.5098, allocations: 6.031 kB / 0.5884 GB, free: 28.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.5098, allocations: 0 / 0.5884 GB, free: 28.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002869/0.5127, allocations: 0.7758 MB / 0.5892 GB, free: 28.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.5129, allocations: 40.84 kB / 0.5892 GB, free: 28.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00545/0.5184, allocations: 3.113 MB / 0.5923 GB, free: 26.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000532/0.5189, allocations: 43.52 kB / 0.5923 GB, free: 26.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.519, allocations: 13.75 kB / 0.5923 GB, free: 26.27 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 {(7,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002122/0.5192, allocations: 154.1 kB / 0.5925 GB, free: 26.13 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.724e-05/0.5193, allocations: 46.47 kB / 0.5925 GB, free: 26.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003603/0.5229, allocations: 1.205 MB / 0.5937 GB, free: 25.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.5229, allocations: 7.469 kB / 0.5937 GB, free: 25.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.5229, allocations: 6.188 kB / 0.5937 GB, free: 25.74 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.523, allocations: 2.562 kB / 0.5937 GB, free: 25.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007497/0.5237, allocations: 0.5295 MB / 0.5942 GB, free: 25.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.5237, allocations: 0 / 0.5942 GB, free: 25.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/0.524, allocations: 38.2 kB / 0.5943 GB, free: 25.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00228/0.5263, allocations: 0.6281 MB / 0.5949 GB, free: 25.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.631e-05/0.5264, allocations: 7.016 kB / 0.5949 GB, free: 25.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004164/0.5305, allocations: 2.551 MB / 0.5974 GB, free: 23.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.5306, allocations: 4.094 kB / 0.5974 GB, free: 23.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004355/0.5349, allocations: 1.578 MB / 0.5989 GB, free: 22.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.5351, allocations: 122 kB / 0.599 GB, free: 22.72 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.648e-05/0.5352, allocations: 13.97 kB / 0.5991 GB, free: 22.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004809/0.5357, allocations: 30.95 kB / 0.5991 GB, free: 22.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003078/0.536, allocations: 87.36 kB / 0.5992 GB, free: 22.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.536, allocations: 11.22 kB / 0.5992 GB, free: 22.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004504/0.5365, allocations: 293.9 kB / 0.5995 GB, free: 22.53 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5365, allocations: 1.062 kB / 0.5995 GB, free: 22.53 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000685/0.5372, allocations: 140.7 kB / 0.5996 GB, free: 22.51 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (motorTypeI.s,motorTypeI.epr,motorTypeI.epm) * 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.004747/0.5419, allocations: 2.128 MB / 0.6017 GB, free: 21.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003059/0.545, allocations: 1.098 MB / 0.6028 GB, free: 20.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.545, allocations: 4 kB / 0.6028 GB, free: 20.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001837/0.5469, allocations: 0.726 MB / 0.6035 GB, free: 20.37 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00062/0.5475, allocations: 38.5 kB / 0.6035 GB, free: 20.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/0.5623, allocations: 5.844 MB / 0.6092 GB, free: 17.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.5627, allocations: 0.8149 MB / 0.61 GB, free: 16.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001737/0.5629, allocations: 28.55 kB / 0.61 GB, free: 16.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002347/0.5632, allocations: 132.2 kB / 0.6102 GB, free: 16.6 MB / 430.1 MB Notification: Performance of SimCode: time 2.365e-06/0.5632, allocations: 0 / 0.6102 GB, free: 16.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/0.5967, allocations: 11.6 MB / 0.6215 GB, free: 10.51 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/0.5969, allocations: 253 kB / 0.6217 GB, free: 10.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.148/2.745, allocations: 7.625 kB / 0.6217 GB, free: 10.25 MB / 430.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)