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.006049/0.006049, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.356/1.356, 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.001453/0.001453, allocations: 187.9 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5153/0.5153, allocations: 91.97 MB / 431.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 78.62 kB / 0.5723 GB, free: 33.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1195, allocations: 71.3 MB / 0.642 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag): time 0.007337/0.1269, allocations: 6.138 MB / 0.648 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003774/0.1307, allocations: 1.778 MB / 0.6497 GB, free: 12.15 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000742/0.1315, allocations: 12 kB / 0.6497 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005991/0.1321, allocations: 238.1 kB / 0.6499 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.1335, allocations: 0.5459 MB / 0.6505 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001781/0.1353, allocations: 0.7626 MB / 0.6512 GB, free: 10.6 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001982/0.1373, allocations: 1.378 MB / 0.6526 GB, free: 9.215 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004361/0.1378, allocations: 287.6 kB / 0.6528 GB, free: 8.922 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006833/0.1385, allocations: 0.5524 MB / 0.6534 GB, free: 8.367 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008456/0.1393, allocations: 0.704 MB / 0.6541 GB, free: 7.66 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.1395, allocations: 111.9 kB / 0.6542 GB, free: 7.551 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004665/0.14, allocations: 215.9 kB / 0.6544 GB, free: 7.34 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003063/0.1403, allocations: 282.8 kB / 0.6546 GB, free: 7.062 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000704/0.141, allocations: 0.5981 MB / 0.6552 GB, free: 6.461 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.1427, allocations: 1.463 MB / 0.6567 GB, free: 4.992 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1427, allocations: 3.938 kB / 0.6567 GB, free: 4.988 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1428, allocations: 0 / 0.6567 GB, free: 4.988 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.1428, allocations: 0 / 0.6567 GB, free: 4.988 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.008185/0.151, allocations: 2.566 MB / 0.6592 GB, free: 2.367 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.151, allocations: 12.03 kB / 0.6592 GB, free: 2.355 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/0.1512, allocations: 130.5 kB / 0.6593 GB, free: 2.219 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004109/0.1553, allocations: 0.6782 MB / 0.66 GB, free: 1.539 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.1564, allocations: 0.7409 MB / 0.6607 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004015/0.1569, allocations: 345.3 kB / 0.661 GB, free: 360 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.157, allocations: 71.94 kB / 0.6611 GB, free: 288 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.1595, allocations: 1.125 MB / 0.6622 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.1595, allocations: 3.984 kB / 0.6622 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.18e-05/0.1596, allocations: 28 kB / 0.6622 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.1596, allocations: 20 kB / 0.6622 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002523/0.1622, allocations: 1.077 MB / 0.6633 GB, free: 14.01 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.006152/0.1683, allocations: 3.352 MB / 0.6666 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007716/0.1761, allocations: 2.294 MB / 0.6688 GB, free: 8.117 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/0.1778, allocations: 0.7469 MB / 0.6695 GB, free: 7.363 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.1779, allocations: 20.92 kB / 0.6695 GB, free: 7.344 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.178, allocations: 43.55 kB / 0.6696 GB, free: 7.289 MB / 478.1 MB Notification: Performance of pre-optimization done (n=89): time 2.896e-06/0.178, allocations: 0 / 0.6696 GB, free: 7.289 MB / 478.1 MB Notification: Performance of matching and sorting (n=89): time 0.02935/0.2073, allocations: 7.031 MB / 0.6765 GB, free: 208 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001922/0.2076, allocations: 90.05 kB / 0.6765 GB, free: 100 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.2092, allocations: 0.8488 MB / 0.6774 GB, free: 15.22 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003543/0.2096, allocations: 41.7 kB / 0.6774 GB, free: 15.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004789/0.2101, allocations: 465.1 kB / 0.6779 GB, free: 14.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006403/0.2108, allocations: 333 kB / 0.6782 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006367/0.2114, allocations: 150.7 kB / 0.6783 GB, free: 14.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002438/0.2117, allocations: 337.9 kB / 0.6786 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/0.2134, allocations: 0.6539 MB / 0.6793 GB, free: 13.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001874/0.2153, allocations: 0.7963 MB / 0.6801 GB, free: 12.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003467/0.2188, allocations: 1.461 MB / 0.6815 GB, free: 10.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.2188, allocations: 3.938 kB / 0.6815 GB, free: 10.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01524/0.2341, allocations: 4.26 MB / 0.6856 GB, free: 6.617 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.2341, allocations: 4 kB / 0.6856 GB, free: 6.613 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.2342, allocations: 7.984 kB / 0.6857 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007869/0.242, allocations: 2.154 MB / 0.6878 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007103/0.2428, allocations: 135.8 kB / 0.6879 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0281/0.2709, allocations: 10.08 MB / 0.6977 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.2725, allocations: 167.3 kB / 0.6979 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/0.2727, allocations: 35.98 kB / 0.6979 GB, free: 9.887 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.2733, allocations: 229.6 kB / 0.6981 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000335/0.2737, allocations: 119.2 kB / 0.6983 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01517/0.2888, allocations: 4.154 MB / 0.7023 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.2889, allocations: 12 kB / 0.7023 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2889, allocations: 0 / 0.7023 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.2889, allocations: 7.984 kB / 0.7023 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01768/0.3066, allocations: 5.755 MB / 0.708 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.3066, allocations: 0 / 0.708 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004894/0.3071, allocations: 83.89 kB / 0.708 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007495/0.3146, allocations: 2.047 MB / 0.71 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.3148, allocations: 19.98 kB / 0.7101 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02462/0.3394, allocations: 8.937 MB / 0.7188 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.3395, allocations: 7.938 kB / 0.7188 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01746/0.3569, allocations: 5.184 MB / 0.7239 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000422/0.3574, allocations: 208.2 kB / 0.7241 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002873/0.3577, allocations: 19.94 kB / 0.7241 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/0.359, allocations: 107.9 kB / 0.7242 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008162/0.3599, allocations: 236.7 kB / 0.7244 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.36, allocations: 27.98 kB / 0.7244 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009057/0.3609, allocations: 0.5789 MB / 0.725 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3609, allocations: 0 / 0.725 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001494/0.3624, allocations: 419.7 kB / 0.7254 GB, free: 13.4 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.01762/0.38, allocations: 5.758 MB / 0.731 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008284/0.3884, allocations: 2.528 MB / 0.7335 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3884, allocations: 0 / 0.7335 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0062/0.3946, allocations: 1.767 MB / 0.7352 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.3957, allocations: 87.5 kB / 0.7353 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04303/0.4387, allocations: 15.15 MB / 0.7501 GB, free: 3.766 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008752/0.4397, allocations: 1.053 MB / 0.7511 GB, free: 2.688 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003628/0.44, allocations: 82.31 kB / 0.7512 GB, free: 2.605 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006496/0.4407, allocations: 407.3 kB / 0.7516 GB, free: 2.207 MB / 0.545 GB Notification: Performance of SimCode: time 8.22e-07/0.4407, allocations: 0 / 0.7516 GB, free: 2.207 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3494/0.7901, allocations: 35.72 MB / 0.7865 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.4/17.19, allocations: 12.39 kB / 0.7865 GB, free: 115.9 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)