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.005416/0.005416, allocations: 94.77 kB / 15.73 MB, free: 6.039 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.299/1.299, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001405/0.001405, allocations: 180.5 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.4902/0.4902, allocations: 91.91 MB / 431.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 79.59 kB / 0.5723 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1238, allocations: 71.28 MB / 0.6419 GB, free: 4.109 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal): time 0.005843/0.1297, allocations: 6.134 MB / 0.6479 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003175/0.1329, allocations: 1.793 MB / 0.6496 GB, free: 12.15 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003774/0.1333, allocations: 12 kB / 0.6496 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004798/0.1338, allocations: 234 kB / 0.6498 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.1349, allocations: 0.594 MB / 0.6504 GB, free: 11.31 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.1363, allocations: 0.7703 MB / 0.6512 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001244/0.1376, allocations: 1.378 MB / 0.6525 GB, free: 9.16 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003724/0.138, allocations: 291.5 kB / 0.6528 GB, free: 8.863 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004943/0.1385, allocations: 0.5524 MB / 0.6533 GB, free: 8.309 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006608/0.1392, allocations: 0.7078 MB / 0.654 GB, free: 7.598 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.1393, allocations: 108 kB / 0.6541 GB, free: 7.492 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003584/0.1397, allocations: 215.9 kB / 0.6543 GB, free: 7.281 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.1399, allocations: 278.8 kB / 0.6546 GB, free: 7.008 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000423/0.1403, allocations: 0.5981 MB / 0.6552 GB, free: 6.406 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.1416, allocations: 1.467 MB / 0.6566 GB, free: 4.934 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1416, allocations: 0 / 0.6566 GB, free: 4.934 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1416, allocations: 4 kB / 0.6566 GB, free: 4.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.1416, allocations: 0 / 0.6566 GB, free: 4.93 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.007892/0.1495, allocations: 2.558 MB / 0.6591 GB, free: 2.316 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1496, allocations: 8.031 kB / 0.6591 GB, free: 2.309 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001487/0.1497, allocations: 122.4 kB / 0.6592 GB, free: 2.18 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004005/0.1537, allocations: 0.686 MB / 0.6599 GB, free: 1.492 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.1548, allocations: 0.7487 MB / 0.6606 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003395/0.1552, allocations: 349.3 kB / 0.661 GB, free: 300 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.1553, allocations: 67.94 kB / 0.661 GB, free: 232 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002102/0.1574, allocations: 1.122 MB / 0.6621 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.1574, allocations: 0 / 0.6621 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.238e-05/0.1575, allocations: 28 kB / 0.6622 GB, free: 15.06 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.1575, allocations: 20 kB / 0.6622 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002234/0.1598, allocations: 1.077 MB / 0.6632 GB, free: 13.96 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.005381/0.1652, allocations: 3.36 MB / 0.6665 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006758/0.1719, allocations: 2.291 MB / 0.6688 GB, free: 8.066 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/0.1735, allocations: 0.7469 MB / 0.6695 GB, free: 7.312 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.1736, allocations: 16.98 kB / 0.6695 GB, free: 7.297 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.1736, allocations: 47.56 kB / 0.6695 GB, free: 7.238 MB / 478.1 MB Notification: Performance of pre-optimization done (n=89): time 2.765e-06/0.1736, allocations: 0 / 0.6695 GB, free: 7.238 MB / 478.1 MB Notification: Performance of matching and sorting (n=89): time 0.0261/0.1997, allocations: 7.031 MB / 0.6764 GB, free: 156 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.1998, allocations: 86.11 kB / 0.6765 GB, free: 52 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.2008, allocations: 0.8488 MB / 0.6773 GB, free: 15.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.201, allocations: 41.64 kB / 0.6774 GB, free: 15.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/0.2013, allocations: 461.1 kB / 0.6778 GB, free: 14.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/0.2016, allocations: 329.1 kB / 0.6781 GB, free: 14.35 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003407/0.2019, allocations: 158.6 kB / 0.6783 GB, free: 14.19 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.202, allocations: 337.9 kB / 0.6786 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.2035, allocations: 0.6578 MB / 0.6792 GB, free: 13.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/0.205, allocations: 0.7924 MB / 0.68 GB, free: 12.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00295/0.208, allocations: 1.469 MB / 0.6814 GB, free: 10.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.208, allocations: 0 / 0.6814 GB, free: 10.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01375/0.2218, allocations: 4.26 MB / 0.6856 GB, free: 6.566 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.2218, allocations: 5.406 kB / 0.6856 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.2218, allocations: 4 kB / 0.6856 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00722/0.2291, allocations: 2.158 MB / 0.6877 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007084/0.2298, allocations: 135.8 kB / 0.6878 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02426/0.2541, allocations: 10.08 MB / 0.6977 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.2555, allocations: 167.3 kB / 0.6978 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.226e-05/0.2556, allocations: 39.94 kB / 0.6979 GB, free: 9.832 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.0003764/0.2559, allocations: 229.6 kB / 0.6981 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.2562, allocations: 115.2 kB / 0.6982 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/0.2697, allocations: 4.154 MB / 0.7023 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.2697, allocations: 8 kB / 0.7023 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.2697, allocations: 0 / 0.7023 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.2698, allocations: 11.91 kB / 0.7023 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01587/0.2856, allocations: 5.747 MB / 0.7079 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.2857, allocations: 0 / 0.7079 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005171/0.2862, allocations: 91.83 kB / 0.708 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007034/0.2933, allocations: 2.051 MB / 0.71 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/0.2934, allocations: 20 kB / 0.71 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02208/0.3155, allocations: 8.945 MB / 0.7187 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.3155, allocations: 3.938 kB / 0.7187 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01561/0.3311, allocations: 5.192 MB / 0.7238 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003486/0.3315, allocations: 204.2 kB / 0.724 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.3317, allocations: 16 kB / 0.724 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.3327, allocations: 111.9 kB / 0.7241 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006597/0.3334, allocations: 228.7 kB / 0.7243 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.339e-05/0.3334, allocations: 23.98 kB / 0.7244 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007481/0.3342, allocations: 0.5789 MB / 0.7249 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3342, allocations: 0 / 0.7249 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001128/0.3353, allocations: 423.7 kB / 0.7253 GB, free: 13.34 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.0157/0.3511, allocations: 5.758 MB / 0.731 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007216/0.3583, allocations: 2.52 MB / 0.7334 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3583, allocations: 256 / 0.7334 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005388/0.3637, allocations: 1.779 MB / 0.7352 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008009/0.3646, allocations: 87.5 kB / 0.7352 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03772/0.4023, allocations: 15.16 MB / 0.7501 GB, free: 3.699 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005945/0.4029, allocations: 1.049 MB / 0.7511 GB, free: 2.625 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003308/0.4033, allocations: 82.3 kB / 0.7512 GB, free: 2.543 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004799/0.4037, allocations: 407.3 kB / 0.7515 GB, free: 2.145 MB / 0.545 GB Notification: Performance of SimCode: time 7.52e-07/0.4037, allocations: 0 / 0.7515 GB, free: 2.145 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.335/0.7387, allocations: 35.71 MB / 0.7864 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.97/16.71, allocations: 8.812 kB / 0.7864 GB, free: 116.8 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)