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.001534/0.001534, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.35/1.35, allocations: 222.9 MB / 238.9 MB, free: 4.773 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.001682/0.001682, allocations: 188.5 kB / 289.1 MB, free: 2.512 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5212/0.5212, allocations: 91.89 MB / 431.2 MB, free: 9.414 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 79.86 kB / 0.5013 GB, free: 8.055 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4038, allocations: 71.26 MB / 0.5709 GB, free: 36.53 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant): time 0.005275/0.4091, allocations: 6.443 MB / 0.5772 GB, free: 32.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.4119, allocations: 1.831 MB / 0.579 GB, free: 31.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003427/0.4122, allocations: 11.44 kB / 0.579 GB, free: 31.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004436/0.4127, allocations: 188.4 kB / 0.5792 GB, free: 31.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009722/0.4137, allocations: 483.8 kB / 0.5796 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.4149, allocations: 0.7216 MB / 0.5803 GB, free: 30.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00108/0.416, allocations: 1.301 MB / 0.5816 GB, free: 30.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003186/0.4164, allocations: 254 kB / 0.5818 GB, free: 30.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004577/0.4168, allocations: 0.5023 MB / 0.5823 GB, free: 29.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005628/0.4174, allocations: 0.6804 MB / 0.583 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.4175, allocations: 69.12 kB / 0.5831 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003532/0.4179, allocations: 179.8 kB / 0.5832 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.4181, allocations: 235.8 kB / 0.5835 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000363/0.4184, allocations: 0.5629 MB / 0.584 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009357/0.4194, allocations: 1.403 MB / 0.5854 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4194, allocations: 0 / 0.5854 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4194, allocations: 0 / 0.5854 GB, free: 28.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.4194, allocations: 0 / 0.5854 GB, free: 28.41 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.007768/0.4272, allocations: 2.498 MB / 0.5878 GB, free: 27.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.4273, allocations: 9.531 kB / 0.5878 GB, free: 27.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/0.4274, allocations: 125 kB / 0.588 GB, free: 27.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004203/0.4316, allocations: 0.6722 MB / 0.5886 GB, free: 27.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.4329, allocations: 0.7429 MB / 0.5893 GB, free: 26.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003819/0.4333, allocations: 343 kB / 0.5897 GB, free: 26.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.4335, allocations: 74.34 kB / 0.5897 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002471/0.4359, allocations: 1.108 MB / 0.5908 GB, free: 25.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.436, allocations: 0 / 0.5908 GB, free: 25.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.641e-05/0.4361, allocations: 29.53 kB / 0.5908 GB, free: 25.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.4361, allocations: 17.41 kB / 0.5909 GB, free: 25.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/0.4385, allocations: 1.051 MB / 0.5919 GB, free: 25.39 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.006561/0.4451, allocations: 3.461 MB / 0.5953 GB, free: 23.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01213/0.4572, allocations: 3.081 MB / 0.5983 GB, free: 22.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.4588, allocations: 0.7137 MB / 0.599 GB, free: 22.31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.4589, allocations: 14.45 kB / 0.599 GB, free: 22.31 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.4589, allocations: 45.11 kB / 0.599 GB, free: 22.26 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.717e-06/0.4589, allocations: 0 / 0.599 GB, free: 22.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.03311/0.4921, allocations: 7.708 MB / 0.6066 GB, free: 20.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.4921, allocations: 90.3 kB / 0.6066 GB, free: 20.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.4941, allocations: 0.8808 MB / 0.6075 GB, free: 20.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000184/0.4943, allocations: 40.17 kB / 0.6075 GB, free: 20.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003997/0.4947, allocations: 469.1 kB / 0.608 GB, free: 19.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004106/0.4952, allocations: 291.9 kB / 0.6083 GB, free: 19.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005366/0.4957, allocations: 160.3 kB / 0.6084 GB, free: 19.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.473e-05/0.4958, allocations: 346.3 kB / 0.6087 GB, free: 19.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.4974, allocations: 0.6326 MB / 0.6094 GB, free: 19.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/0.4992, allocations: 0.8007 MB / 0.6101 GB, free: 18.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00325/0.5024, allocations: 1.453 MB / 0.6116 GB, free: 18.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.5025, allocations: 1.438 kB / 0.6116 GB, free: 18.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01474/0.5172, allocations: 4.223 MB / 0.6157 GB, free: 16.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.5173, allocations: 6.562 kB / 0.6157 GB, free: 16.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.5173, allocations: 4.375 kB / 0.6157 GB, free: 16.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007011/0.5243, allocations: 2.153 MB / 0.6178 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006336/0.525, allocations: 139.8 kB / 0.6179 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0223/0.5473, allocations: 9.272 MB / 0.627 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.549, allocations: 163 kB / 0.6271 GB, free: 4.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/0.5492, allocations: 36 kB / 0.6272 GB, free: 4.457 MB / 430.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.0005352/0.5497, allocations: 233.5 kB / 0.6274 GB, free: 4.219 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003783/0.5501, allocations: 110.6 kB / 0.6275 GB, free: 4.109 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/0.5629, allocations: 4.123 MB / 0.6315 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.5629, allocations: 8 kB / 0.6315 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.5629, allocations: 3.984 kB / 0.6315 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.5629, allocations: 3.984 kB / 0.6316 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01614/0.5791, allocations: 5.56 MB / 0.637 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.5791, allocations: 7.938 kB / 0.637 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.5795, allocations: 71.91 kB / 0.6371 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007003/0.5865, allocations: 2.043 MB / 0.6391 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.5866, allocations: 12 kB / 0.6391 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02251/0.6092, allocations: 8.161 MB / 0.647 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.6092, allocations: 0 / 0.647 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01652/0.6257, allocations: 5.076 MB / 0.652 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004679/0.6262, allocations: 203.5 kB / 0.6522 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003694/0.6266, allocations: 16 kB / 0.6522 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/0.628, allocations: 99.88 kB / 0.6523 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008078/0.6288, allocations: 220.6 kB / 0.6525 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/0.629, allocations: 20 kB / 0.6525 GB, free: 10.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001032/0.63, allocations: 0.6031 MB / 0.6531 GB, free: 9.547 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.63, allocations: 0 / 0.6531 GB, free: 9.547 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001824/0.6319, allocations: 411.7 kB / 0.6535 GB, free: 9.145 MB / 462.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.01688/0.6487, allocations: 5.656 MB / 0.659 GB, free: 3.449 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007917/0.6567, allocations: 2.437 MB / 0.6614 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.6567, allocations: 0 / 0.6614 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005884/0.6626, allocations: 1.675 MB / 0.663 GB, free: 15.27 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.6642, allocations: 94.98 kB / 0.6631 GB, free: 15.18 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04404/0.7082, allocations: 15.99 MB / 0.6787 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000951/0.7093, allocations: 1.052 MB / 0.6798 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004437/0.7097, allocations: 78.31 kB / 0.6799 GB, free: 13.62 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006933/0.7104, allocations: 399.3 kB / 0.6802 GB, free: 13.23 MB / 494.1 MB Notification: Performance of SimCode: time 1.603e-06/0.7105, allocations: 0 / 0.6802 GB, free: 13.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06193/0.7724, allocations: 32.34 MB / 0.7118 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.7727, allocations: 235 kB / 0.712 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.836/3.608, allocations: 4 kB / 0.712 GB, free: 12.79 MB / 0.5137 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)