Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.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.SourcesWithRealInputs.VoltageSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_VoltageSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_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.008/0.008, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.396/1.396, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001476/0.001476, allocations: 187.4 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5198/0.5198, allocations: 92.61 MB / 432.5 MB, free: 8.461 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003802/0.003802, allocations: 85.36 kB / 0.5732 GB, free: 33.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1472, allocations: 71.4 MB / 0.6429 GB, free: 3.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputConstant): time 0.006985/0.1542, allocations: 6.079 MB / 0.6489 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003862/0.1581, allocations: 1.778 MB / 0.6506 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005648/0.1587, allocations: 12 kB / 0.6506 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005688/0.1593, allocations: 234 kB / 0.6509 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001394/0.1607, allocations: 0.5471 MB / 0.6514 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.1624, allocations: 0.7554 MB / 0.6521 GB, free: 9.652 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001719/0.1641, allocations: 1.366 MB / 0.6535 GB, free: 8.281 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004743/0.1646, allocations: 299.5 kB / 0.6537 GB, free: 7.977 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007358/0.1654, allocations: 0.5407 MB / 0.6543 GB, free: 7.434 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008789/0.1663, allocations: 0.7039 MB / 0.655 GB, free: 6.727 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.1665, allocations: 104 kB / 0.6551 GB, free: 6.625 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005233/0.167, allocations: 219.9 kB / 0.6553 GB, free: 6.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002952/0.1673, allocations: 278.8 kB / 0.6555 GB, free: 6.137 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005922/0.1679, allocations: 0.5942 MB / 0.6561 GB, free: 5.539 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.1696, allocations: 1.463 MB / 0.6575 GB, free: 4.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1696, allocations: 0 / 0.6575 GB, free: 4.07 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1696, allocations: 0 / 0.6575 GB, free: 4.07 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.1696, allocations: 0 / 0.6575 GB, free: 4.07 MB / 462.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.008211/0.1778, allocations: 2.535 MB / 0.66 GB, free: 1.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1779, allocations: 12.03 kB / 0.66 GB, free: 1.469 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001576/0.1781, allocations: 122.5 kB / 0.6602 GB, free: 1.34 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004171/0.1822, allocations: 0.6743 MB / 0.6608 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.1836, allocations: 0.7449 MB / 0.6615 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004311/0.184, allocations: 349.2 kB / 0.6619 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.1842, allocations: 71.89 kB / 0.6619 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/0.1866, allocations: 1.11 MB / 0.663 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.1867, allocations: 0 / 0.663 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.15e-05/0.1868, allocations: 32 kB / 0.6631 GB, free: 14.24 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.1868, allocations: 20 kB / 0.6631 GB, free: 14.22 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/0.1892, allocations: 1.05 MB / 0.6641 GB, free: 13.17 MB / 478.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.006676/0.1959, allocations: 3.446 MB / 0.6675 GB, free: 9.574 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01265/0.2086, allocations: 3.084 MB / 0.6705 GB, free: 6.395 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001882/0.2105, allocations: 0.7146 MB / 0.6712 GB, free: 5.672 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.2107, allocations: 20.62 kB / 0.6712 GB, free: 5.652 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.2107, allocations: 39.22 kB / 0.6712 GB, free: 5.605 MB / 478.1 MB Notification: Performance of pre-optimization done (n=83): time 3.527e-06/0.2107, allocations: 4 kB / 0.6712 GB, free: 5.602 MB / 478.1 MB Notification: Performance of matching and sorting (n=83): time 0.03235/0.2431, allocations: 7.718 MB / 0.6788 GB, free: 13.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/0.2432, allocations: 85.77 kB / 0.6789 GB, free: 13.72 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.2445, allocations: 0.8814 MB / 0.6797 GB, free: 12.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001988/0.2447, allocations: 41.7 kB / 0.6798 GB, free: 12.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000398/0.2451, allocations: 472.9 kB / 0.6802 GB, free: 12.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003599/0.2455, allocations: 313.3 kB / 0.6805 GB, free: 11.99 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003658/0.2458, allocations: 162.6 kB / 0.6807 GB, free: 11.83 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.246, allocations: 345.9 kB / 0.681 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.2476, allocations: 0.6266 MB / 0.6816 GB, free: 10.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/0.2494, allocations: 0.7997 MB / 0.6824 GB, free: 9.996 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00325/0.2526, allocations: 1.437 MB / 0.6838 GB, free: 8.504 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/0.2526, allocations: 8 kB / 0.6838 GB, free: 8.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01532/0.268, allocations: 4.225 MB / 0.6879 GB, free: 4.254 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.268, allocations: 9.094 kB / 0.6879 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.2681, allocations: 7.938 kB / 0.6879 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007862/0.2759, allocations: 2.158 MB / 0.69 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006993/0.2767, allocations: 127.8 kB / 0.6902 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02743/0.3041, allocations: 10.09 MB / 0.7 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.3057, allocations: 167.3 kB / 0.7002 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.3059, allocations: 35.98 kB / 0.7002 GB, free: 7.512 MB / 0.4981 GB 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.000459/0.3064, allocations: 221.7 kB / 0.7004 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/0.3067, allocations: 115.2 kB / 0.7005 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01494/0.3216, allocations: 4.127 MB / 0.7046 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/0.3217, allocations: 8 kB / 0.7046 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.3217, allocations: 4 kB / 0.7046 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.17e-05/0.3217, allocations: 7.984 kB / 0.7046 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01688/0.3386, allocations: 5.551 MB / 0.71 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.3387, allocations: 4 kB / 0.71 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004429/0.3391, allocations: 75.91 kB / 0.7101 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007555/0.3467, allocations: 2.043 MB / 0.7121 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001796/0.3469, allocations: 16 kB / 0.7121 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02432/0.3712, allocations: 8.937 MB / 0.7208 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.3713, allocations: 3.938 kB / 0.7208 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01723/0.3885, allocations: 5.093 MB / 0.7258 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005198/0.3891, allocations: 200.2 kB / 0.726 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/0.3893, allocations: 16 kB / 0.726 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.3904, allocations: 103.9 kB / 0.7261 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008149/0.3913, allocations: 232.6 kB / 0.7263 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.408e-05/0.3913, allocations: 16 kB / 0.7263 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009041/0.3923, allocations: 0.5992 MB / 0.7269 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3923, allocations: 0 / 0.7269 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001393/0.3937, allocations: 423.7 kB / 0.7273 GB, free: 11.39 MB / 0.5294 GB 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.01754/0.4112, allocations: 5.665 MB / 0.7329 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00786/0.4191, allocations: 2.469 MB / 0.7353 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.4191, allocations: 0 / 0.7353 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005846/0.425, allocations: 1.728 MB / 0.737 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008582/0.4259, allocations: 88.22 kB / 0.737 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04162/0.4675, allocations: 15.15 MB / 0.7518 GB, free: 1.922 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008122/0.4684, allocations: 1.049 MB / 0.7529 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000374/0.4688, allocations: 78.31 kB / 0.7529 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005301/0.4693, allocations: 407.3 kB / 0.7533 GB, free: 380 kB / 0.545 GB Notification: Performance of SimCode: time 8.72e-07/0.4693, allocations: 0 / 0.7533 GB, free: 380 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3662/0.8355, allocations: 35.47 MB / 0.788 GB, free: 115 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.49/17.33, allocations: 2.625 kB / 0.788 GB, free: 115 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputConstant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputConstant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputConstant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputConstant.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputConstant_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_VoltageSourceReImInputConstant.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputConstant.pipe 2>&1)