Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.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.Sources.VoltageSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant",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.001018/0.001018, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.367/1.367, allocations: 223.3 MB / 239.4 MB, free: 5.52 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.001113/0.001113, allocations: 184.5 kB / 290.6 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5525/0.5525, allocations: 91.93 MB / 433.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003907, allocations: 12 kB / 0.5049 GB, free: 7.176 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3607, allocations: 72.46 MB / 0.5756 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant): time 0.004605/0.3654, allocations: 5.987 MB / 0.5815 GB, free: 32.61 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002898/0.3683, allocations: 1.818 MB / 0.5832 GB, free: 31.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003766/0.3687, allocations: 10.44 kB / 0.5833 GB, free: 31.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004059/0.3691, allocations: 186.2 kB / 0.5834 GB, free: 31.24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.3701, allocations: 480.7 kB / 0.5839 GB, free: 30.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.3715, allocations: 0.7112 MB / 0.5846 GB, free: 30.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.3728, allocations: 1.304 MB / 0.5859 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003183/0.3732, allocations: 252.3 kB / 0.5861 GB, free: 29.78 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004722/0.3736, allocations: 491.8 kB / 0.5866 GB, free: 29.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005763/0.3742, allocations: 0.6497 MB / 0.5872 GB, free: 29.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.3743, allocations: 58.09 kB / 0.5873 GB, free: 29.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003215/0.3747, allocations: 165.6 kB / 0.5874 GB, free: 29.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.3748, allocations: 218.8 kB / 0.5876 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000345/0.3752, allocations: 0.5698 MB / 0.5882 GB, free: 28.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009071/0.3761, allocations: 1.365 MB / 0.5895 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3761, allocations: 0.5938 kB / 0.5895 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3761, allocations: 4 kB / 0.5895 GB, free: 28.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.3761, allocations: 3.812 kB / 0.5895 GB, free: 28.18 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.007644/0.3838, allocations: 2.335 MB / 0.5918 GB, free: 27.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.3838, allocations: 9.094 kB / 0.5918 GB, free: 27.2 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002326/0.3841, allocations: 123.8 kB / 0.5919 GB, free: 27.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00423/0.3883, allocations: 0.6751 MB / 0.5926 GB, free: 26.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.3894, allocations: 0.7475 MB / 0.5933 GB, free: 26.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003168/0.3897, allocations: 362.2 kB / 0.5937 GB, free: 26.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.3899, allocations: 71.44 kB / 0.5937 GB, free: 26.1 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/0.3922, allocations: 1.187 MB / 0.5949 GB, free: 25.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.3923, allocations: 3.984 kB / 0.5949 GB, free: 25.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.404e-05/0.3924, allocations: 25.88 kB / 0.5949 GB, free: 25.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.3924, allocations: 17.12 kB / 0.5949 GB, free: 25.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002444/0.3949, allocations: 1.144 MB / 0.5961 GB, free: 25.29 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006201/0.4011, allocations: 3.522 MB / 0.5995 GB, free: 23.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01417/0.4153, allocations: 4.02 MB / 0.6034 GB, free: 22.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001988/0.4173, allocations: 0.7976 MB / 0.6042 GB, free: 22.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.4174, allocations: 15.06 kB / 0.6042 GB, free: 22.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.4174, allocations: 43.41 kB / 0.6043 GB, free: 22.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 4.108e-06/0.4175, allocations: 0 / 0.6043 GB, free: 22.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.03781/0.4553, allocations: 9.521 MB / 0.6136 GB, free: 20.4 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.4554, allocations: 86.2 kB / 0.6136 GB, free: 20.31 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.4567, allocations: 0.8818 MB / 0.6145 GB, free: 19.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002061/0.4569, allocations: 41.7 kB / 0.6145 GB, free: 19.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.4573, allocations: 464 kB / 0.615 GB, free: 19.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003094/0.4576, allocations: 296 kB / 0.6153 GB, free: 19.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.4577, allocations: 82.25 kB / 0.6153 GB, free: 19.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.47e-05/0.4578, allocations: 341.8 kB / 0.6157 GB, free: 18.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/0.4596, allocations: 0.7189 MB / 0.6164 GB, free: 18.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.4613, allocations: 0.8804 MB / 0.6172 GB, free: 18.17 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003117/0.4644, allocations: 1.61 MB / 0.6188 GB, free: 16.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.4644, allocations: 0 / 0.6188 GB, free: 16.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01562/0.48, allocations: 5.212 MB / 0.6239 GB, free: 11.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.4801, allocations: 8.438 kB / 0.6239 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.4801, allocations: 8 kB / 0.6239 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00786/0.488, allocations: 2.529 MB / 0.6264 GB, free: 9.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006755/0.4887, allocations: 135.8 kB / 0.6265 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02547/0.5142, allocations: 10.47 MB / 0.6367 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.516, allocations: 207 kB / 0.6369 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.5161, allocations: 35.98 kB / 0.637 GB, free: 14.04 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(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 {(24,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0004668/0.5166, allocations: 236 kB / 0.6372 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.5168, allocations: 110.6 kB / 0.6373 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01672/0.5335, allocations: 5.111 MB / 0.6423 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.5336, allocations: 12 kB / 0.6423 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.5336, allocations: 0 / 0.6423 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.661e-05/0.5336, allocations: 3.984 kB / 0.6423 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.019/0.5526, allocations: 6.556 MB / 0.6487 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.5527, allocations: 0 / 0.6487 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004637/0.5532, allocations: 71.84 kB / 0.6488 GB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00823/0.5614, allocations: 2.418 MB / 0.6511 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001513/0.5616, allocations: 20 kB / 0.6512 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02384/0.5854, allocations: 9.207 MB / 0.6601 GB, free: 6.008 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-06/0.5855, allocations: 4 kB / 0.6601 GB, free: 6.004 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0182/0.6037, allocations: 6.15 MB / 0.6662 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004317/0.6042, allocations: 207.5 kB / 0.6664 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.6043, allocations: 12 kB / 0.6664 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.6055, allocations: 147.9 kB / 0.6665 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007344/0.6063, allocations: 216.6 kB / 0.6667 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.247e-05/0.6064, allocations: 23.98 kB / 0.6667 GB, free: 15.21 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000766/0.6071, allocations: 0.5992 MB / 0.6673 GB, free: 14.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6071, allocations: 0 / 0.6673 GB, free: 14.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001277/0.6084, allocations: 415.6 kB / 0.6677 GB, free: 14.19 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gENCLS.delta,gENCLS.eq,gENCLS.omega) * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(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 {(24,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01882/0.6272, allocations: 6.722 MB / 0.6743 GB, free: 7.434 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008511/0.6358, allocations: 2.788 MB / 0.677 GB, free: 4.602 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.6358, allocations: 0 / 0.677 GB, free: 4.602 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006361/0.6422, allocations: 1.968 MB / 0.6789 GB, free: 2.605 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.6433, allocations: 88.23 kB / 0.679 GB, free: 2.52 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04455/0.6878, allocations: 18.11 MB / 0.6967 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/0.6885, allocations: 1.049 MB / 0.6977 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004084/0.6889, allocations: 82.31 kB / 0.6978 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004913/0.6894, allocations: 403.3 kB / 0.6982 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of SimCode: time 4.789e-06/0.6894, allocations: 0 / 0.6982 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05369/0.7431, allocations: 31.76 MB / 0.7292 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/0.7434, allocations: 245.5 kB / 0.7294 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.677/3.421, allocations: 0 / 0.7294 GB, free: 14.59 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe 2>&1)