Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.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.VoltageSourceReImInputVaryReal,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryReal",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.005121/0.005121, allocations: 99.69 kB / 15.73 MB, free: 6.445 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.371/1.371, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001516/0.001516, allocations: 192.5 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5396/0.5396, allocations: 91.97 MB / 431.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 84.95 kB / 0.5723 GB, free: 33.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.129, allocations: 71.29 MB / 0.642 GB, free: 4.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal): time 0.007155/0.1362, allocations: 6.138 MB / 0.648 GB, free: 13.85 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003491/0.1397, allocations: 1.786 MB / 0.6497 GB, free: 12.06 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003675/0.1401, allocations: 12 kB / 0.6497 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005196/0.1407, allocations: 230.1 kB / 0.6499 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.1419, allocations: 0.5471 MB / 0.6505 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.1435, allocations: 0.7674 MB / 0.6512 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001643/0.1452, allocations: 1.378 MB / 0.6526 GB, free: 9.125 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004237/0.1456, allocations: 287.6 kB / 0.6528 GB, free: 8.832 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006565/0.1463, allocations: 0.5485 MB / 0.6534 GB, free: 8.281 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008475/0.1471, allocations: 0.7195 MB / 0.6541 GB, free: 7.559 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001604/0.1473, allocations: 104 kB / 0.6542 GB, free: 7.457 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000433/0.1477, allocations: 212 kB / 0.6544 GB, free: 7.25 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002677/0.148, allocations: 286.8 kB / 0.6546 GB, free: 6.969 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005484/0.1486, allocations: 0.5942 MB / 0.6552 GB, free: 6.371 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.1502, allocations: 1.467 MB / 0.6567 GB, free: 4.898 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1502, allocations: 0 / 0.6567 GB, free: 4.898 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1502, allocations: 0 / 0.6567 GB, free: 4.898 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.162e-05/0.1502, allocations: 0 / 0.6567 GB, free: 4.898 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.008196/0.1584, allocations: 2.558 MB / 0.6592 GB, free: 2.285 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.1585, allocations: 12.03 kB / 0.6592 GB, free: 2.273 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001642/0.1587, allocations: 122.5 kB / 0.6593 GB, free: 2.145 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004125/0.1628, allocations: 0.6821 MB / 0.66 GB, free: 1.461 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.164, allocations: 0.7487 MB / 0.6607 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004189/0.1644, allocations: 341.3 kB / 0.661 GB, free: 276 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.1646, allocations: 79.88 kB / 0.6611 GB, free: 196 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/0.1671, allocations: 1.122 MB / 0.6622 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.1671, allocations: 0 / 0.6622 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.265e-05/0.1672, allocations: 24 kB / 0.6622 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.1672, allocations: 20 kB / 0.6622 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/0.1698, allocations: 1.074 MB / 0.6633 GB, free: 13.94 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.006242/0.1761, allocations: 3.36 MB / 0.6666 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007759/0.1838, allocations: 2.295 MB / 0.6688 GB, free: 8.035 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001827/0.1857, allocations: 0.7507 MB / 0.6695 GB, free: 7.277 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/0.1858, allocations: 16.98 kB / 0.6695 GB, free: 7.262 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.1859, allocations: 43.56 kB / 0.6696 GB, free: 7.207 MB / 478.1 MB Notification: Performance of pre-optimization done (n=89): time 7.244e-06/0.1859, allocations: 3.984 kB / 0.6696 GB, free: 7.203 MB / 478.1 MB Notification: Performance of matching and sorting (n=89): time 0.02845/0.2143, allocations: 7.034 MB / 0.6765 GB, free: 116 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.2144, allocations: 86.11 kB / 0.6765 GB, free: 12 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.2157, allocations: 0.8526 MB / 0.6774 GB, free: 15.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.2158, allocations: 45.7 kB / 0.6774 GB, free: 15.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/0.2162, allocations: 457.1 kB / 0.6779 GB, free: 14.63 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003533/0.2166, allocations: 333.1 kB / 0.6782 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003575/0.217, allocations: 154.7 kB / 0.6783 GB, free: 14.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.2171, allocations: 341.9 kB / 0.6786 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/0.2188, allocations: 0.6461 MB / 0.6793 GB, free: 13.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/0.2206, allocations: 0.8019 MB / 0.6801 GB, free: 12.31 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003396/0.224, allocations: 1.461 MB / 0.6815 GB, free: 10.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.224, allocations: 4 kB / 0.6815 GB, free: 10.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01537/0.2394, allocations: 4.256 MB / 0.6856 GB, free: 6.531 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.2395, allocations: 8.938 kB / 0.6857 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.2395, allocations: 4 kB / 0.6857 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007826/0.2473, allocations: 2.162 MB / 0.6878 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007196/0.2481, allocations: 131.8 kB / 0.6879 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02723/0.2753, allocations: 10.07 MB / 0.6977 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.2768, allocations: 179.2 kB / 0.6979 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.639e-05/0.2769, allocations: 35.92 kB / 0.6979 GB, free: 9.789 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (79): * Single equations (assignments): 77 * 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.000429/0.2773, allocations: 225.7 kB / 0.6982 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002252/0.2776, allocations: 119.2 kB / 0.6983 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01485/0.2924, allocations: 4.15 MB / 0.7023 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.2925, allocations: 8 kB / 0.7023 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2925, allocations: 4 kB / 0.7023 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/0.2925, allocations: 7.984 kB / 0.7023 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01763/0.3102, allocations: 5.751 MB / 0.708 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.981e-05/0.3102, allocations: 7.984 kB / 0.708 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005292/0.3108, allocations: 87.89 kB / 0.708 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007574/0.3184, allocations: 2.043 MB / 0.71 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001434/0.3185, allocations: 19.98 kB / 0.7101 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02449/0.343, allocations: 8.941 MB / 0.7188 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.3431, allocations: 3.938 kB / 0.7188 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01697/0.36, allocations: 5.188 MB / 0.7239 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004494/0.3605, allocations: 204 kB / 0.7241 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002759/0.3608, allocations: 19.98 kB / 0.7241 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.3621, allocations: 107.9 kB / 0.7242 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000849/0.363, allocations: 228.7 kB / 0.7244 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.13e-05/0.3631, allocations: 27.98 kB / 0.7244 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008806/0.364, allocations: 0.5789 MB / 0.725 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.91e-07/0.364, allocations: 0 / 0.725 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001409/0.3654, allocations: 423.7 kB / 0.7254 GB, free: 13.31 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 (52): * Single equations (assignments): 50 * 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.3829, allocations: 5.758 MB / 0.731 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008278/0.3913, allocations: 2.528 MB / 0.7335 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3913, allocations: 0 / 0.7335 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006092/0.3974, allocations: 1.767 MB / 0.7352 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.3985, allocations: 87.5 kB / 0.7353 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04322/0.4418, allocations: 15.16 MB / 0.7501 GB, free: 3.672 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009883/0.4428, allocations: 1.053 MB / 0.7511 GB, free: 2.594 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004096/0.4432, allocations: 86.3 kB / 0.7512 GB, free: 2.508 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006975/0.4439, allocations: 403.3 kB / 0.7516 GB, free: 2.113 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/0.444, allocations: 0 / 0.7516 GB, free: 2.113 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3471/0.791, allocations: 35.72 MB / 0.7865 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.4/17.19, allocations: 6.641 kB / 0.7865 GB, free: 115.9 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal_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_VoltageSourceReImInputVaryReal.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.pipe 2>&1)