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.004604/0.004604, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.321/1.321, 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.001399/0.001399, allocations: 192.4 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5212/0.5212, allocations: 91.91 MB / 431.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 79.53 kB / 0.5722 GB, free: 33.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1284, allocations: 71.29 MB / 0.6419 GB, free: 4.062 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag): time 0.006374/0.1348, allocations: 6.177 MB / 0.6479 GB, free: 13.85 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003297/0.1381, allocations: 1.797 MB / 0.6497 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004589/0.1386, allocations: 12 kB / 0.6497 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005392/0.1392, allocations: 238 kB / 0.6499 GB, free: 11.8 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.1405, allocations: 0.589 MB / 0.6505 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.1421, allocations: 0.7754 MB / 0.6512 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.1436, allocations: 1.386 MB / 0.6526 GB, free: 9.055 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004063/0.144, allocations: 295.6 kB / 0.6529 GB, free: 8.754 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006375/0.1447, allocations: 0.5601 MB / 0.6534 GB, free: 8.191 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007707/0.1454, allocations: 0.7195 MB / 0.6541 GB, free: 7.469 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.1456, allocations: 108 kB / 0.6542 GB, free: 7.363 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003869/0.146, allocations: 219.9 kB / 0.6544 GB, free: 7.148 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000234/0.1463, allocations: 282.8 kB / 0.6547 GB, free: 6.871 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004881/0.1467, allocations: 0.602 MB / 0.6553 GB, free: 6.266 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.1482, allocations: 1.474 MB / 0.6567 GB, free: 4.785 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1483, allocations: 0 / 0.6567 GB, free: 4.785 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1483, allocations: 3.938 kB / 0.6567 GB, free: 4.781 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.1483, allocations: 4 kB / 0.6567 GB, free: 4.777 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.008386/0.1567, allocations: 2.574 MB / 0.6592 GB, free: 2.148 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1567, allocations: 12.03 kB / 0.6592 GB, free: 2.137 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001603/0.1569, allocations: 122.5 kB / 0.6594 GB, free: 2.008 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004324/0.1612, allocations: 0.6821 MB / 0.66 GB, free: 1.324 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.1625, allocations: 0.745 MB / 0.6608 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003765/0.1629, allocations: 349.3 kB / 0.6611 GB, free: 132 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.1631, allocations: 75.94 kB / 0.6612 GB, free: 56 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.1656, allocations: 1.133 MB / 0.6623 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.1656, allocations: 3.938 kB / 0.6623 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.1657, allocations: 32 kB / 0.6623 GB, free: 14.87 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.1658, allocations: 20 kB / 0.6623 GB, free: 14.85 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.1683, allocations: 1.093 MB / 0.6634 GB, free: 13.76 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.006305/0.1747, allocations: 3.377 MB / 0.6667 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007685/0.1824, allocations: 2.49 MB / 0.6691 GB, free: 7.613 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001769/0.1842, allocations: 0.7782 MB / 0.6699 GB, free: 6.828 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.1843, allocations: 12.98 kB / 0.6699 GB, free: 6.816 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.1843, allocations: 43.56 kB / 0.6699 GB, free: 6.766 MB / 478.1 MB Notification: Performance of pre-optimization done (n=90): time 2.815e-06/0.1843, allocations: 0 / 0.6699 GB, free: 6.766 MB / 478.1 MB Notification: Performance of matching and sorting (n=90): time 0.03169/0.216, allocations: 7.674 MB / 0.6774 GB, free: 15.03 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.2161, allocations: 90.11 kB / 0.6775 GB, free: 14.92 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.2174, allocations: 0.8366 MB / 0.6783 GB, free: 14.06 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001921/0.2176, allocations: 41.7 kB / 0.6784 GB, free: 14.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/0.2179, allocations: 461.1 kB / 0.6788 GB, free: 13.56 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004222/0.2184, allocations: 337 kB / 0.6791 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004162/0.2188, allocations: 158.6 kB / 0.6793 GB, free: 13.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.219, allocations: 341.9 kB / 0.6796 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.2207, allocations: 0.6734 MB / 0.6803 GB, free: 12.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.2225, allocations: 0.8158 MB / 0.6811 GB, free: 11.19 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003504/0.226, allocations: 1.508 MB / 0.6825 GB, free: 9.633 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.2261, allocations: 0 / 0.6825 GB, free: 9.633 MB / 494.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.01508/0.2411, allocations: 4.303 MB / 0.6867 GB, free: 5.316 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.2412, allocations: 4.312 kB / 0.6867 GB, free: 5.312 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.2412, allocations: 11.94 kB / 0.6868 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007825/0.2491, allocations: 2.161 MB / 0.6889 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000772/0.2499, allocations: 139.8 kB / 0.689 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02859/0.2785, allocations: 10.09 MB / 0.6988 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.2802, allocations: 171.3 kB / 0.699 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/0.2805, allocations: 32 kB / 0.699 GB, free: 8.566 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.0005599/0.281, allocations: 234.7 kB / 0.6993 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003376/0.2814, allocations: 115.3 kB / 0.6994 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01547/0.2969, allocations: 4.26 MB / 0.7035 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/0.2969, allocations: 12 kB / 0.7035 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2969, allocations: 0 / 0.7035 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.2969, allocations: 7.984 kB / 0.7036 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01757/0.3145, allocations: 5.797 MB / 0.7092 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.3146, allocations: 0 / 0.7092 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005646/0.3151, allocations: 95.88 kB / 0.7093 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007407/0.3226, allocations: 2.047 MB / 0.7113 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001691/0.3228, allocations: 16 kB / 0.7113 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02364/0.3464, allocations: 8.934 MB / 0.72 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.3464, allocations: 3.938 kB / 0.72 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01715/0.3636, allocations: 5.262 MB / 0.7252 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/0.364, allocations: 208.1 kB / 0.7254 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002936/0.3643, allocations: 16 kB / 0.7254 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/0.3656, allocations: 115.9 kB / 0.7255 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007829/0.3664, allocations: 232.8 kB / 0.7257 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.3666, allocations: 24 kB / 0.7258 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008649/0.3674, allocations: 0.567 MB / 0.7263 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3674, allocations: 0 / 0.7263 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001561/0.369, allocations: 419.7 kB / 0.7267 GB, free: 11.87 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.01767/0.3867, allocations: 5.844 MB / 0.7324 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00841/0.3951, allocations: 2.567 MB / 0.7349 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.3952, allocations: 0 / 0.7349 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006218/0.4014, allocations: 1.787 MB / 0.7367 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.4025, allocations: 92.38 kB / 0.7368 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04435/0.4469, allocations: 15.21 MB / 0.7516 GB, free: 2.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009964/0.4479, allocations: 1.053 MB / 0.7526 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004645/0.4484, allocations: 82.22 kB / 0.7527 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005851/0.449, allocations: 407.3 kB / 0.7531 GB, free: 472 kB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.449, allocations: 4 kB / 0.7531 GB, free: 468 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3417/0.7907, allocations: 35.91 MB / 0.7882 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.1/16.89, allocations: 7.969 kB / 0.7882 GB, free: 114.5 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)