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.005595/0.005595, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.284/1.284, allocations: 222.9 MB / 239.4 MB, free: 4.516 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.001573/0.001573, allocations: 196.5 kB / 289.7 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4917/0.4917, allocations: 91.89 MB / 431.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001419, allocations: 77 kB / 0.5722 GB, free: 33.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1278, allocations: 71.3 MB / 0.6419 GB, free: 4.059 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal): time 0.006265/0.1341, allocations: 6.127 MB / 0.6479 GB, free: 13.9 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0033/0.1374, allocations: 1.782 MB / 0.6496 GB, free: 12.11 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005184/0.1379, allocations: 12 kB / 0.6496 GB, free: 12.1 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005566/0.1385, allocations: 242 kB / 0.6498 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.1399, allocations: 0.5979 MB / 0.6504 GB, free: 11.26 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.1415, allocations: 0.7652 MB / 0.6512 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001498/0.143, allocations: 1.37 MB / 0.6525 GB, free: 9.129 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004094/0.1434, allocations: 291.6 kB / 0.6528 GB, free: 8.832 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006346/0.1441, allocations: 0.5601 MB / 0.6533 GB, free: 8.27 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007627/0.1448, allocations: 0.7079 MB / 0.654 GB, free: 7.559 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.145, allocations: 104 kB / 0.6541 GB, free: 7.457 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003877/0.1454, allocations: 215.9 kB / 0.6543 GB, free: 7.246 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002232/0.1456, allocations: 274.9 kB / 0.6546 GB, free: 6.977 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005032/0.1461, allocations: 0.602 MB / 0.6552 GB, free: 6.371 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.1476, allocations: 1.47 MB / 0.6566 GB, free: 4.895 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1476, allocations: 3.938 kB / 0.6566 GB, free: 4.891 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1476, allocations: 3.938 kB / 0.6566 GB, free: 4.887 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.1477, allocations: 4 kB / 0.6566 GB, free: 4.883 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.007776/0.1554, allocations: 2.554 MB / 0.6591 GB, free: 2.273 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.1555, allocations: 8.031 kB / 0.6591 GB, free: 2.266 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.1557, allocations: 122.5 kB / 0.6592 GB, free: 2.137 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00401/0.1597, allocations: 0.6821 MB / 0.6599 GB, free: 1.453 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.1608, allocations: 0.7449 MB / 0.6606 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003482/0.1612, allocations: 341.2 kB / 0.661 GB, free: 272 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.1613, allocations: 75.94 kB / 0.661 GB, free: 196 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/0.1636, allocations: 1.122 MB / 0.6621 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.1636, allocations: 3.938 kB / 0.6621 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.337e-05/0.1637, allocations: 24 kB / 0.6622 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.1637, allocations: 16 kB / 0.6622 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002468/0.1662, allocations: 1.081 MB / 0.6632 GB, free: 13.93 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.006491/0.1727, allocations: 3.364 MB / 0.6665 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007103/0.1798, allocations: 2.293 MB / 0.6688 GB, free: 8.023 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001761/0.1816, allocations: 0.7391 MB / 0.6695 GB, free: 7.277 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001575/0.1818, allocations: 16.98 kB / 0.6695 GB, free: 7.262 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.1819, allocations: 47.56 kB / 0.6695 GB, free: 7.203 MB / 478.1 MB Notification: Performance of pre-optimization done (n=89): time 2.885e-06/0.1819, allocations: 3.938 kB / 0.6695 GB, free: 7.199 MB / 478.1 MB Notification: Performance of matching and sorting (n=89): time 0.0283/0.2102, allocations: 7.027 MB / 0.6764 GB, free: 120 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.2103, allocations: 94.09 kB / 0.6765 GB, free: 8 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.2116, allocations: 0.8488 MB / 0.6773 GB, free: 15.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002242/0.2118, allocations: 37.7 kB / 0.6774 GB, free: 15.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/0.2122, allocations: 457.1 kB / 0.6778 GB, free: 14.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004871/0.2127, allocations: 325.1 kB / 0.6781 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004981/0.2132, allocations: 154.7 kB / 0.6783 GB, free: 14.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2133, allocations: 341.9 kB / 0.6786 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/0.215, allocations: 0.6617 MB / 0.6792 GB, free: 13.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.2167, allocations: 0.7924 MB / 0.68 GB, free: 12.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00325/0.22, allocations: 1.457 MB / 0.6814 GB, free: 10.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.22, allocations: 3.984 kB / 0.6814 GB, free: 10.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01449/0.2345, allocations: 4.268 MB / 0.6856 GB, free: 6.531 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/0.2346, allocations: 4.781 kB / 0.6856 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.2346, allocations: 8 kB / 0.6856 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00737/0.242, allocations: 2.158 MB / 0.6877 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007155/0.2427, allocations: 131.8 kB / 0.6878 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02616/0.2689, allocations: 10.09 MB / 0.6977 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.2705, allocations: 175.3 kB / 0.6979 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002082/0.2707, allocations: 32 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.0005721/0.2713, allocations: 221.7 kB / 0.6981 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003647/0.2717, allocations: 119.2 kB / 0.6982 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01585/0.2875, allocations: 4.158 MB / 0.7023 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/0.2876, allocations: 8 kB / 0.7023 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.2876, allocations: 0 / 0.7023 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.529e-05/0.2877, allocations: 3.984 kB / 0.7023 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0179/0.3056, allocations: 5.755 MB / 0.7079 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/0.3056, allocations: 0 / 0.7079 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005349/0.3062, allocations: 91.89 kB / 0.708 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007315/0.3135, allocations: 2.051 MB / 0.71 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002114/0.3137, allocations: 16 kB / 0.71 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02327/0.337, allocations: 8.945 MB / 0.7187 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.3371, allocations: 3.938 kB / 0.7187 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0161/0.3532, allocations: 5.188 MB / 0.7238 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004379/0.3537, allocations: 208.2 kB / 0.724 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003495/0.354, allocations: 15.94 kB / 0.724 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.3554, allocations: 103.9 kB / 0.7241 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008794/0.3563, allocations: 236.7 kB / 0.7244 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001387/0.3564, allocations: 24 kB / 0.7244 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009422/0.3574, allocations: 0.5789 MB / 0.7249 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3574, allocations: 0 / 0.7249 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001899/0.3593, allocations: 423.7 kB / 0.7253 GB, free: 13.3 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.01662/0.3759, allocations: 5.762 MB / 0.731 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007725/0.3837, allocations: 2.524 MB / 0.7334 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3837, allocations: 0 / 0.7334 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005649/0.3894, allocations: 1.771 MB / 0.7352 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.3905, allocations: 90.44 kB / 0.7353 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03949/0.43, allocations: 15.16 MB / 0.7501 GB, free: 3.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006668/0.4307, allocations: 1.057 MB / 0.7511 GB, free: 2.578 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003486/0.4311, allocations: 78.31 kB / 0.7512 GB, free: 2.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005639/0.4316, allocations: 407.3 kB / 0.7515 GB, free: 2.102 MB / 0.545 GB Notification: Performance of SimCode: time 8.32e-07/0.4317, allocations: 0 / 0.7515 GB, free: 2.102 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3363/0.7679, allocations: 35.71 MB / 0.7864 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.96/16.73, allocations: 8.594 kB / 0.7864 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)