Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.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.VoltageSourceReImInputVaryImag,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag",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.005231/0.005231, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.31/1.31, 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.001294/0.001294, allocations: 196.4 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.497/0.497, allocations: 91.91 MB / 431.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 79.2 kB / 0.5722 GB, free: 33.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.125, allocations: 71.28 MB / 0.6419 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag): time 0.006051/0.1311, allocations: 6.146 MB / 0.6479 GB, free: 13.92 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00322/0.1344, allocations: 1.782 MB / 0.6496 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004743/0.1349, allocations: 19.94 kB / 0.6496 GB, free: 12.12 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005219/0.1355, allocations: 226.1 kB / 0.6498 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.1368, allocations: 0.5979 MB / 0.6504 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.1384, allocations: 0.7598 MB / 0.6512 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001524/0.1399, allocations: 1.378 MB / 0.6525 GB, free: 9.156 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004179/0.1403, allocations: 299.5 kB / 0.6528 GB, free: 8.852 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006883/0.141, allocations: 0.5563 MB / 0.6533 GB, free: 8.293 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007531/0.1418, allocations: 0.7117 MB / 0.654 GB, free: 7.578 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.142, allocations: 104 kB / 0.6541 GB, free: 7.477 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004054/0.1424, allocations: 211.9 kB / 0.6543 GB, free: 7.27 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.1426, allocations: 282.8 kB / 0.6546 GB, free: 6.992 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005076/0.1431, allocations: 0.5942 MB / 0.6552 GB, free: 6.395 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.1447, allocations: 1.47 MB / 0.6566 GB, free: 4.918 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1447, allocations: 0 / 0.6566 GB, free: 4.918 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1447, allocations: 0 / 0.6566 GB, free: 4.918 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.1447, allocations: 0 / 0.6566 GB, free: 4.918 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.008427/0.1532, allocations: 2.562 MB / 0.6591 GB, free: 2.301 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1532, allocations: 8.031 kB / 0.6591 GB, free: 2.293 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001708/0.1534, allocations: 122.5 kB / 0.6592 GB, free: 2.164 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004331/0.1578, allocations: 0.686 MB / 0.6599 GB, free: 1.477 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.159, allocations: 0.7448 MB / 0.6606 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000371/0.1594, allocations: 345.2 kB / 0.661 GB, free: 292 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.1596, allocations: 75.94 kB / 0.661 GB, free: 216 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/0.162, allocations: 1.122 MB / 0.6621 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.162, allocations: 0 / 0.6621 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.861e-05/0.1621, allocations: 28 kB / 0.6622 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.1621, allocations: 16 kB / 0.6622 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002369/0.1645, allocations: 1.085 MB / 0.6632 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.006195/0.1707, allocations: 3.36 MB / 0.6665 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007304/0.178, allocations: 2.287 MB / 0.6688 GB, free: 8.051 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001749/0.1798, allocations: 0.7468 MB / 0.6695 GB, free: 7.301 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.18, allocations: 16.98 kB / 0.6695 GB, free: 7.285 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.18, allocations: 47.56 kB / 0.6695 GB, free: 7.227 MB / 478.1 MB Notification: Performance of pre-optimization done (n=89): time 2.695e-06/0.18, allocations: 0 / 0.6695 GB, free: 7.227 MB / 478.1 MB Notification: Performance of matching and sorting (n=89): time 0.02791/0.2079, allocations: 7.027 MB / 0.6764 GB, free: 148 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.208, allocations: 90.11 kB / 0.6765 GB, free: 40 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.2093, allocations: 0.8488 MB / 0.6773 GB, free: 15.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002676/0.2096, allocations: 37.7 kB / 0.6774 GB, free: 15.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.2099, allocations: 469.1 kB / 0.6778 GB, free: 14.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003741/0.2103, allocations: 329.1 kB / 0.6781 GB, free: 14.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003608/0.2107, allocations: 154.7 kB / 0.6783 GB, free: 14.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.2108, allocations: 341.9 kB / 0.6786 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.2125, allocations: 0.6539 MB / 0.6792 GB, free: 13.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/0.2142, allocations: 0.7963 MB / 0.68 GB, free: 12.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003152/0.2173, allocations: 1.461 MB / 0.6814 GB, free: 10.83 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.2173, allocations: 3.938 kB / 0.6814 GB, free: 10.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01482/0.2322, allocations: 4.26 MB / 0.6856 GB, free: 6.555 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.2323, allocations: 9.094 kB / 0.6856 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.2323, allocations: 4 kB / 0.6856 GB, free: 6.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007557/0.2398, allocations: 2.154 MB / 0.6877 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007154/0.2406, allocations: 131.8 kB / 0.6878 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02626/0.2669, allocations: 10.09 MB / 0.6977 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.2685, allocations: 167.3 kB / 0.6978 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.2686, allocations: 35.98 kB / 0.6979 GB, free: 9.816 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.0004349/0.2691, allocations: 225.7 kB / 0.6981 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/0.2694, allocations: 115.2 kB / 0.6982 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01437/0.2837, allocations: 4.158 MB / 0.7023 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/0.2838, allocations: 12 kB / 0.7023 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.2838, allocations: 0 / 0.7023 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/0.2838, allocations: 3.984 kB / 0.7023 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01719/0.301, allocations: 5.751 MB / 0.7079 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.3011, allocations: 3.938 kB / 0.7079 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005441/0.3016, allocations: 87.89 kB / 0.708 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007298/0.3089, allocations: 2.047 MB / 0.71 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001791/0.3092, allocations: 19.98 kB / 0.71 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02319/0.3324, allocations: 8.941 MB / 0.7187 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.3324, allocations: 11.88 kB / 0.7187 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01642/0.3488, allocations: 5.18 MB / 0.7238 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003729/0.3492, allocations: 208.2 kB / 0.724 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/0.3494, allocations: 19.83 kB / 0.724 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.3506, allocations: 103.9 kB / 0.7241 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006962/0.3513, allocations: 236.7 kB / 0.7243 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.346e-05/0.3514, allocations: 23.98 kB / 0.7244 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007264/0.3522, allocations: 0.5711 MB / 0.7249 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3522, allocations: 0 / 0.7249 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001264/0.3534, 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.01722/0.3707, allocations: 5.765 MB / 0.731 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008026/0.3787, allocations: 2.52 MB / 0.7334 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.3788, allocations: 0 / 0.7334 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005945/0.3847, allocations: 1.759 MB / 0.7351 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009278/0.3857, allocations: 91.5 kB / 0.7352 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03915/0.4249, allocations: 15.17 MB / 0.75 GB, free: 3.699 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005847/0.4255, allocations: 1.049 MB / 0.7511 GB, free: 2.625 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003805/0.4259, allocations: 82.31 kB / 0.7511 GB, free: 2.543 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005203/0.4264, allocations: 407.2 kB / 0.7515 GB, free: 2.145 MB / 0.545 GB Notification: Performance of SimCode: time 1.052e-06/0.4264, allocations: 0 / 0.7515 GB, free: 2.145 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3329/0.7593, allocations: 35.72 MB / 0.7864 GB, free: 116 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.07/16.83, allocations: 7.172 kB / 0.7864 GB, free: 116 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag_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_VoltageSourceReImInputVaryImag.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.pipe 2>&1)