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.006038/0.006038, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.551 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.00164/0.00164, allocations: 188.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5308/0.5308, allocations: 91.91 MB / 431.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 79.19 kB / 0.5722 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.13, allocations: 71.29 MB / 0.6419 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag): time 0.006244/0.1363, allocations: 6.172 MB / 0.6479 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003113/0.1394, allocations: 1.805 MB / 0.6497 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006199/0.14, allocations: 8 kB / 0.6497 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000562/0.1406, allocations: 238.1 kB / 0.6499 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.1419, allocations: 0.59 MB / 0.6505 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.1435, allocations: 0.7667 MB / 0.6512 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.1449, allocations: 1.393 MB / 0.6526 GB, free: 9.086 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004111/0.1453, allocations: 303.5 kB / 0.6529 GB, free: 8.777 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005361/0.1459, allocations: 0.5524 MB / 0.6534 GB, free: 8.223 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007558/0.1466, allocations: 0.7195 MB / 0.6541 GB, free: 7.5 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.1468, allocations: 108 kB / 0.6542 GB, free: 7.395 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003749/0.1472, allocations: 215.9 kB / 0.6544 GB, free: 7.184 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.1474, allocations: 282.8 kB / 0.6547 GB, free: 6.906 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004905/0.1479, allocations: 0.6059 MB / 0.6553 GB, free: 6.297 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.1493, allocations: 1.474 MB / 0.6567 GB, free: 4.816 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1494, allocations: 0 / 0.6567 GB, free: 4.816 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1494, allocations: 0 / 0.6567 GB, free: 4.816 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.1494, allocations: 4 kB / 0.6567 GB, free: 4.812 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.007701/0.1571, allocations: 2.566 MB / 0.6592 GB, free: 2.191 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1571, allocations: 19.95 kB / 0.6592 GB, free: 2.172 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001396/0.1573, allocations: 118.5 kB / 0.6594 GB, free: 2.047 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004012/0.1613, allocations: 0.6821 MB / 0.66 GB, free: 1.363 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.1623, allocations: 0.7527 MB / 0.6608 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003368/0.1627, allocations: 341.3 kB / 0.6611 GB, free: 172 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.1628, allocations: 75.94 kB / 0.6612 GB, free: 96 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.1651, allocations: 1.133 MB / 0.6623 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.1651, allocations: 0 / 0.6623 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.507e-05/0.1652, allocations: 32 kB / 0.6623 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.1652, allocations: 20 kB / 0.6623 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/0.1677, allocations: 1.101 MB / 0.6634 GB, free: 13.79 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.005669/0.1734, allocations: 3.373 MB / 0.6667 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007331/0.1807, allocations: 2.49 MB / 0.6691 GB, free: 7.652 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/0.1823, allocations: 0.7782 MB / 0.6699 GB, free: 6.867 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.1825, allocations: 12.98 kB / 0.6699 GB, free: 6.855 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.1825, allocations: 47.55 kB / 0.6699 GB, free: 6.801 MB / 478.1 MB Notification: Performance of pre-optimization done (n=90): time 2.334e-06/0.1825, allocations: 0 / 0.6699 GB, free: 6.801 MB / 478.1 MB Notification: Performance of matching and sorting (n=90): time 0.02975/0.2123, allocations: 7.67 MB / 0.6774 GB, free: 15.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.2124, allocations: 94.09 kB / 0.6775 GB, free: 14.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.2137, allocations: 0.8327 MB / 0.6783 GB, free: 14.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00013/0.2138, allocations: 41.7 kB / 0.6784 GB, free: 14.06 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.2142, allocations: 469.1 kB / 0.6788 GB, free: 13.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/0.2146, allocations: 333.1 kB / 0.6791 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003814/0.215, allocations: 158.6 kB / 0.6793 GB, free: 13.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.2151, allocations: 341.9 kB / 0.6796 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/0.2167, allocations: 0.6734 MB / 0.6803 GB, free: 12.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001762/0.2185, allocations: 0.8159 MB / 0.6811 GB, free: 11.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003484/0.222, allocations: 1.504 MB / 0.6825 GB, free: 9.676 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.338e-05/0.222, allocations: 0 / 0.6825 GB, free: 9.676 MB / 494.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.01497/0.237, allocations: 4.295 MB / 0.6867 GB, free: 5.367 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.2371, allocations: 12.19 kB / 0.6867 GB, free: 5.355 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.2371, allocations: 12 kB / 0.6867 GB, free: 5.344 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007555/0.2447, allocations: 2.169 MB / 0.6889 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007263/0.2454, allocations: 139.8 kB / 0.689 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02648/0.2719, allocations: 10.08 MB / 0.6988 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.2735, allocations: 171.3 kB / 0.699 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002002/0.2737, allocations: 36 kB / 0.699 GB, free: 8.602 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.0005588/0.2743, allocations: 230.7 kB / 0.6993 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003342/0.2746, allocations: 111.3 kB / 0.6994 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01483/0.2895, allocations: 4.256 MB / 0.7035 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.2895, allocations: 12 kB / 0.7035 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.2896, allocations: 0 / 0.7035 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/0.2896, allocations: 7.984 kB / 0.7035 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01736/0.3069, allocations: 5.797 MB / 0.7092 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/0.307, allocations: 3.984 kB / 0.7092 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005952/0.3076, allocations: 99.88 kB / 0.7093 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007353/0.315, allocations: 2.051 MB / 0.7113 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001854/0.3152, allocations: 16 kB / 0.7113 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02421/0.3394, allocations: 8.934 MB / 0.72 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/0.3395, allocations: 7.875 kB / 0.7201 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01741/0.3569, allocations: 5.266 MB / 0.7252 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004205/0.3573, allocations: 204.1 kB / 0.7254 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002966/0.3576, allocations: 16 kB / 0.7254 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/0.359, allocations: 115.9 kB / 0.7255 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008796/0.3599, allocations: 232.7 kB / 0.7257 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.36, allocations: 24 kB / 0.7258 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008681/0.3609, allocations: 0.567 MB / 0.7263 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3609, allocations: 0 / 0.7263 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0016/0.3625, allocations: 419.7 kB / 0.7267 GB, free: 11.9 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.01743/0.3799, allocations: 5.828 MB / 0.7324 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008309/0.3883, allocations: 2.571 MB / 0.7349 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3883, allocations: 3.938 kB / 0.7349 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005979/0.3943, allocations: 1.787 MB / 0.7367 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.3955, allocations: 91.44 kB / 0.7368 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04035/0.4358, allocations: 15.22 MB / 0.7516 GB, free: 2.055 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008581/0.4367, allocations: 1.053 MB / 0.7526 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003998/0.4372, allocations: 82.22 kB / 0.7527 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006247/0.4378, allocations: 407.3 kB / 0.7531 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of SimCode: time 3.226e-06/0.4378, allocations: 4 kB / 0.7531 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3488/0.7866, allocations: 35.91 MB / 0.7882 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.95/16.74, allocations: 14.39 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)