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.005656/0.005656, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.315/1.315, allocations: 222.9 MB / 239.4 MB, free: 4.512 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.001402/0.001402, allocations: 188.5 kB / 289.7 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5025/0.5025, allocations: 91.91 MB / 431.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 78.97 kB / 0.5723 GB, free: 33.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/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.006438/0.1315, allocations: 6.138 MB / 0.6479 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003402/0.1349, allocations: 1.786 MB / 0.6496 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000803/0.1358, allocations: 8 kB / 0.6496 GB, free: 12.13 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007213/0.1365, allocations: 238.1 kB / 0.6498 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.1383, allocations: 0.5932 MB / 0.6504 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.1401, allocations: 0.7737 MB / 0.6512 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00179/0.1419, allocations: 1.37 MB / 0.6525 GB, free: 9.16 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005047/0.1424, allocations: 299.6 kB / 0.6528 GB, free: 8.855 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008392/0.1432, allocations: 0.5484 MB / 0.6533 GB, free: 8.305 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009773/0.1442, allocations: 0.7117 MB / 0.654 GB, free: 7.59 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003161/0.1446, allocations: 108 kB / 0.6541 GB, free: 7.484 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005794/0.1451, allocations: 211.9 kB / 0.6543 GB, free: 7.277 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003027/0.1455, allocations: 278.8 kB / 0.6546 GB, free: 7.004 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007131/0.1462, allocations: 0.602 MB / 0.6552 GB, free: 6.398 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.148, allocations: 1.467 MB / 0.6566 GB, free: 4.926 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.148, allocations: 4 kB / 0.6566 GB, free: 4.922 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.148, allocations: 0 / 0.6566 GB, free: 4.922 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.896e-05/0.148, allocations: 0 / 0.6566 GB, free: 4.922 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.008273/0.1563, allocations: 2.558 MB / 0.6591 GB, free: 2.309 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.1564, allocations: 8.031 kB / 0.6591 GB, free: 2.301 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002437/0.1566, allocations: 122.5 kB / 0.6592 GB, free: 2.172 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004435/0.1611, allocations: 0.6782 MB / 0.6599 GB, free: 1.492 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.1626, allocations: 0.7526 MB / 0.6606 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003904/0.163, allocations: 341.3 kB / 0.661 GB, free: 304 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002715/0.1633, allocations: 75.94 kB / 0.661 GB, free: 228 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002534/0.1658, allocations: 1.114 MB / 0.6621 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.1659, allocations: 4 kB / 0.6621 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.981e-05/0.166, allocations: 32 kB / 0.6622 GB, free: 15.06 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.166, allocations: 27.92 kB / 0.6622 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002461/0.1685, allocations: 1.074 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.006269/0.1748, allocations: 3.352 MB / 0.6665 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006861/0.1816, allocations: 2.305 MB / 0.6688 GB, free: 8.051 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/0.1833, allocations: 0.743 MB / 0.6695 GB, free: 7.301 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.1835, allocations: 16.98 kB / 0.6695 GB, free: 7.285 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.1835, allocations: 43.56 kB / 0.6695 GB, free: 7.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=89): time 2.575e-06/0.1835, allocations: 0 / 0.6695 GB, free: 7.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=89): time 0.0262/0.2097, allocations: 7.034 MB / 0.6764 GB, free: 144 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.2098, allocations: 90.11 kB / 0.6765 GB, free: 36 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.2109, allocations: 0.8448 MB / 0.6773 GB, free: 15.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002201/0.2112, allocations: 41.7 kB / 0.6774 GB, free: 15.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.2115, allocations: 461.1 kB / 0.6778 GB, free: 14.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003401/0.2118, allocations: 329.1 kB / 0.6781 GB, free: 14.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003504/0.2122, allocations: 158.6 kB / 0.6783 GB, free: 14.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2123, allocations: 338 kB / 0.6786 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.2138, allocations: 0.6539 MB / 0.6792 GB, free: 13.19 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/0.2155, allocations: 0.7924 MB / 0.68 GB, free: 12.35 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003013/0.2185, allocations: 1.469 MB / 0.6814 GB, free: 10.83 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.2185, allocations: 4 kB / 0.6814 GB, free: 10.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01407/0.2326, allocations: 4.256 MB / 0.6856 GB, free: 6.559 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.2327, allocations: 8 kB / 0.6856 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.2327, allocations: 4 kB / 0.6856 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007284/0.24, allocations: 2.154 MB / 0.6877 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006994/0.2407, allocations: 139.8 kB / 0.6878 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02524/0.266, allocations: 10.08 MB / 0.6977 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.2675, allocations: 175.3 kB / 0.6979 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.2676, allocations: 32 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.0004111/0.268, allocations: 225.7 kB / 0.6981 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.2682, allocations: 119.2 kB / 0.6982 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/0.2817, allocations: 4.15 MB / 0.7023 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.2818, allocations: 8 kB / 0.7023 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2818, allocations: 0 / 0.7023 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/0.2818, allocations: 7.984 kB / 0.7023 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01589/0.2977, allocations: 5.751 MB / 0.7079 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.2978, allocations: 0 / 0.7079 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004933/0.2983, allocations: 87.89 kB / 0.708 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006979/0.3053, allocations: 2.055 MB / 0.71 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001907/0.3055, allocations: 20 kB / 0.71 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02204/0.3275, allocations: 8.937 MB / 0.7187 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3276, allocations: 3.938 kB / 0.7187 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/0.3428, allocations: 5.192 MB / 0.7238 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003531/0.3432, allocations: 204.2 kB / 0.724 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.3434, allocations: 12 kB / 0.724 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.3445, allocations: 107.9 kB / 0.7241 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006814/0.3452, allocations: 232.7 kB / 0.7243 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.93e-05/0.3452, allocations: 24 kB / 0.7244 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006916/0.3459, allocations: 0.5789 MB / 0.7249 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.6e-07/0.346, allocations: 0 / 0.7249 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001258/0.3472, 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.01583/0.3631, allocations: 5.766 MB / 0.731 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007426/0.3705, allocations: 2.516 MB / 0.7334 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.3706, allocations: 7.875 kB / 0.7334 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005588/0.3762, allocations: 1.763 MB / 0.7352 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009753/0.3772, allocations: 94.12 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.03738/0.4146, allocations: 15.14 MB / 0.75 GB, free: 3.719 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005708/0.4152, allocations: 1.076 MB / 0.7511 GB, free: 2.617 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003432/0.4156, allocations: 74.31 kB / 0.7511 GB, free: 2.543 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004604/0.416, allocations: 407.3 kB / 0.7515 GB, free: 2.145 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/0.4161, allocations: 0 / 0.7515 GB, free: 2.145 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3251/0.7411, allocations: 35.72 MB / 0.7864 GB, free: 116 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.3/17.04, allocations: 9.969 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)