Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.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.VoltageSourceReImInputVaryRealAndImag,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryRealAndImag",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryRealAndImag",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.001806/0.001806, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001552/0.001552, allocations: 200.3 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.558/0.558, allocations: 91.91 MB / 431.8 MB, free: 9.141 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 82.09 kB / 0.5722 GB, free: 33.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1092, allocations: 71.29 MB / 0.6419 GB, free: 4.066 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag): time 0.007223/0.1165, allocations: 6.166 MB / 0.6479 GB, free: 13.87 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003317/0.1198, allocations: 1.801 MB / 0.6496 GB, free: 12.06 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003322/0.1202, allocations: 8 kB / 0.6497 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004984/0.1207, allocations: 238.1 kB / 0.6499 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.1219, allocations: 0.5496 MB / 0.6504 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.1236, allocations: 0.7745 MB / 0.6512 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001671/0.1252, allocations: 1.386 MB / 0.6525 GB, free: 9.109 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004286/0.1257, allocations: 295.5 kB / 0.6528 GB, free: 8.809 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006158/0.1263, allocations: 0.5485 MB / 0.6533 GB, free: 8.258 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008312/0.1271, allocations: 0.7273 MB / 0.6541 GB, free: 7.527 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.1273, allocations: 112 kB / 0.6542 GB, free: 7.418 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003883/0.1277, allocations: 208 kB / 0.6544 GB, free: 7.215 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002444/0.128, allocations: 282.8 kB / 0.6546 GB, free: 6.938 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005272/0.1285, allocations: 0.602 MB / 0.6552 GB, free: 6.332 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.1301, allocations: 1.482 MB / 0.6567 GB, free: 4.844 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1301, allocations: 4 kB / 0.6567 GB, free: 4.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1301, allocations: 0 / 0.6567 GB, free: 4.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.1301, allocations: 3.938 kB / 0.6567 GB, free: 4.836 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.008275/0.1384, allocations: 2.57 MB / 0.6592 GB, free: 2.211 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.1385, allocations: 11.97 kB / 0.6592 GB, free: 2.199 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001662/0.1386, allocations: 118.5 kB / 0.6593 GB, free: 2.074 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004212/0.1429, allocations: 0.6821 MB / 0.66 GB, free: 1.391 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.144, allocations: 0.7528 MB / 0.6607 GB, free: 0.582 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003918/0.1444, allocations: 341.3 kB / 0.661 GB, free: 200 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.1446, allocations: 71.94 kB / 0.6611 GB, free: 128 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.1471, allocations: 1.137 MB / 0.6622 GB, free: 14.97 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.1471, allocations: 4 kB / 0.6622 GB, free: 14.97 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-05/0.1472, allocations: 28 kB / 0.6622 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.1473, allocations: 16 kB / 0.6623 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00257/0.1498, allocations: 1.101 MB / 0.6633 GB, free: 13.82 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.006337/0.1562, allocations: 3.381 MB / 0.6666 GB, free: 10.29 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007551/0.1637, allocations: 2.488 MB / 0.6691 GB, free: 7.676 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/0.1655, allocations: 0.7704 MB / 0.6698 GB, free: 6.898 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.706e-05/0.1656, allocations: 16.98 kB / 0.6698 GB, free: 6.883 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.1656, allocations: 51.5 kB / 0.6699 GB, free: 6.824 MB / 478.1 MB Notification: Performance of pre-optimization done (n=90): time 2.625e-06/0.1656, allocations: 0 / 0.6699 GB, free: 6.824 MB / 478.1 MB Notification: Performance of matching and sorting (n=90): time 0.03124/0.1969, allocations: 7.666 MB / 0.6774 GB, free: 15.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/0.197, allocations: 90.11 kB / 0.6775 GB, free: 14.99 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.1982, allocations: 0.8405 MB / 0.6783 GB, free: 14.13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002027/0.1984, allocations: 41.7 kB / 0.6783 GB, free: 14.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/0.1988, allocations: 465.1 kB / 0.6788 GB, free: 13.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003751/0.1992, allocations: 337.1 kB / 0.6791 GB, free: 13.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003562/0.1996, allocations: 162.6 kB / 0.6792 GB, free: 13.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1997, allocations: 341.9 kB / 0.6796 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.2014, allocations: 0.6656 MB / 0.6802 GB, free: 12.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/0.2031, allocations: 0.8182 MB / 0.681 GB, free: 11.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003272/0.2064, allocations: 1.5 MB / 0.6825 GB, free: 9.707 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.2064, allocations: 4 kB / 0.6825 GB, free: 9.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.01472/0.2211, allocations: 4.299 MB / 0.6867 GB, free: 5.383 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.2212, allocations: 11.94 kB / 0.6867 GB, free: 5.371 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.2212, allocations: 4 kB / 0.6867 GB, free: 5.367 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007468/0.2287, allocations: 2.162 MB / 0.6888 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007583/0.2294, allocations: 151.7 kB / 0.6889 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02633/0.2558, allocations: 10.07 MB / 0.6988 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.2574, allocations: 183.2 kB / 0.699 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.886e-05/0.2575, allocations: 35.98 kB / 0.699 GB, free: 8.617 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 (80): * Single equations (assignments): 78 * 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.0004615/0.258, allocations: 231.5 kB / 0.6992 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002281/0.2582, allocations: 111.3 kB / 0.6993 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01486/0.2731, allocations: 4.26 MB / 0.7035 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.2731, allocations: 8 kB / 0.7035 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2731, allocations: 3.984 kB / 0.7035 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/0.2732, allocations: 3.984 kB / 0.7035 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01712/0.2903, allocations: 5.797 MB / 0.7091 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/0.2903, allocations: 8 kB / 0.7092 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005296/0.2909, allocations: 91.89 kB / 0.7092 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007234/0.2981, allocations: 2.047 MB / 0.7112 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.2982, allocations: 19.98 kB / 0.7113 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02332/0.3216, allocations: 8.929 MB / 0.72 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.3216, allocations: 3.938 kB / 0.72 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0167/0.3383, allocations: 5.266 MB / 0.7251 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004263/0.3388, allocations: 208.1 kB / 0.7253 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.3389, allocations: 16 kB / 0.7253 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.3401, allocations: 119.8 kB / 0.7255 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007745/0.3408, allocations: 232.7 kB / 0.7257 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.579e-05/0.3409, allocations: 31.98 kB / 0.7257 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008081/0.3417, allocations: 0.5631 MB / 0.7263 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3418, allocations: 0 / 0.7263 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001266/0.343, allocations: 423.7 kB / 0.7267 GB, free: 11.91 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 (53): * Single equations (assignments): 51 * 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.01673/0.3598, allocations: 5.816 MB / 0.7323 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007869/0.3677, allocations: 2.571 MB / 0.7349 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3677, allocations: 8.188 kB / 0.7349 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005639/0.3733, allocations: 1.79 MB / 0.7366 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008721/0.3742, allocations: 92.53 kB / 0.7367 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03981/0.414, allocations: 15.21 MB / 0.7516 GB, free: 2.074 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007784/0.4149, allocations: 1.057 MB / 0.7526 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003551/0.4152, allocations: 78.23 kB / 0.7527 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005262/0.4158, allocations: 411.3 kB / 0.7531 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of SimCode: time 1.162e-06/0.4158, allocations: 0 / 0.7531 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3152/0.731, allocations: 35.92 MB / 0.7881 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17/17.73, allocations: 7.734 kB / 0.7881 GB, free: 115.6 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag_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_VoltageSourceReImInputVaryRealAndImag.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.pipe 2>&1)