Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.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.VoltageSourceReImInputVaryReal,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryReal",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.001589/0.001589, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 239.2 MB, free: 4.609 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.001316/0.001316, allocations: 199.5 kB / 289.6 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5026/0.5026, allocations: 91.91 MB / 431.6 MB, free: 9.254 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 79.88 kB / 0.502 GB, free: 7.613 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3404, allocations: 71.26 MB / 0.5716 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal): time 0.005373/0.3458, allocations: 6.126 MB / 0.5776 GB, free: 33.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00283/0.3486, allocations: 1.796 MB / 0.5793 GB, free: 32.1 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003745/0.349, allocations: 9.281 kB / 0.5793 GB, free: 32.1 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004266/0.3495, allocations: 232.8 kB / 0.5795 GB, free: 31.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.3505, allocations: 0.5493 MB / 0.5801 GB, free: 31.6 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.3518, allocations: 0.7573 MB / 0.5808 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001084/0.3529, allocations: 1.372 MB / 0.5822 GB, free: 30.51 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003391/0.3533, allocations: 291.3 kB / 0.5824 GB, free: 30.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004575/0.3537, allocations: 0.5531 MB / 0.583 GB, free: 30.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005649/0.3543, allocations: 0.7088 MB / 0.5837 GB, free: 29.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.3544, allocations: 105.8 kB / 0.5838 GB, free: 29.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003601/0.3548, allocations: 224.6 kB / 0.584 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.355, allocations: 277.7 kB / 0.5842 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.3553, allocations: 0.5903 MB / 0.5848 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009509/0.3563, allocations: 1.453 MB / 0.5862 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3563, allocations: 0 / 0.5862 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3563, allocations: 0 / 0.5862 GB, free: 28.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.3563, allocations: 0 / 0.5862 GB, free: 28.48 MB / 430.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.007896/0.3642, allocations: 2.522 MB / 0.5887 GB, free: 27.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.3643, allocations: 18.41 kB / 0.5887 GB, free: 27.36 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/0.3645, allocations: 118.5 kB / 0.5888 GB, free: 27.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004097/0.3686, allocations: 0.6801 MB / 0.5895 GB, free: 27.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.3696, allocations: 0.7356 MB / 0.5902 GB, free: 26.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003099/0.3699, allocations: 342.2 kB / 0.5905 GB, free: 26.28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.3701, allocations: 78.28 kB / 0.5906 GB, free: 26.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002144/0.3722, allocations: 1.124 MB / 0.5917 GB, free: 25.83 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.3723, allocations: 0 / 0.5917 GB, free: 25.83 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.22e-05/0.3724, allocations: 25.97 kB / 0.5917 GB, free: 25.81 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.3724, allocations: 17.28 kB / 0.5918 GB, free: 25.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002367/0.3747, allocations: 1.079 MB / 0.5928 GB, free: 25.46 MB / 430.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.005427/0.3802, allocations: 3.372 MB / 0.5961 GB, free: 23.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008118/0.3883, allocations: 2.291 MB / 0.5983 GB, free: 22.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001839/0.3902, allocations: 0.7398 MB / 0.5991 GB, free: 22.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.3903, allocations: 20.67 kB / 0.5991 GB, free: 22.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.3903, allocations: 44.83 kB / 0.5991 GB, free: 22.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.155e-06/0.3904, allocations: 0 / 0.5991 GB, free: 22.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02901/0.4194, allocations: 7.025 MB / 0.606 GB, free: 21.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.4194, allocations: 87.08 kB / 0.6061 GB, free: 20.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.4206, allocations: 0.8475 MB / 0.6069 GB, free: 20.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001736/0.4208, allocations: 41.36 kB / 0.6069 GB, free: 20.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/0.4211, allocations: 451 kB / 0.6074 GB, free: 20.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.4213, allocations: 310.5 kB / 0.6077 GB, free: 19.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003357/0.4217, allocations: 164.3 kB / 0.6078 GB, free: 19.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.462e-05/0.4218, allocations: 340.7 kB / 0.6081 GB, free: 19.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/0.4233, allocations: 0.654 MB / 0.6088 GB, free: 19.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.425, allocations: 0.797 MB / 0.6096 GB, free: 18.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003123/0.4281, allocations: 1.472 MB / 0.611 GB, free: 18.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.4281, allocations: 1.125 kB / 0.611 GB, free: 18.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01484/0.443, allocations: 4.258 MB / 0.6152 GB, free: 16.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.4431, allocations: 10.42 kB / 0.6152 GB, free: 16.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.4431, allocations: 3.531 kB / 0.6152 GB, free: 16.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007171/0.4503, allocations: 2.155 MB / 0.6173 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.4509, allocations: 139.8 kB / 0.6174 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02337/0.4743, allocations: 10.08 MB / 0.6272 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/0.4759, allocations: 163 kB / 0.6274 GB, free: 4.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/0.4761, allocations: 35.98 kB / 0.6274 GB, free: 4.695 MB / 430.1 MB 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.0004508/0.4765, allocations: 231.5 kB / 0.6277 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/0.4768, allocations: 106.7 kB / 0.6278 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/0.4901, allocations: 4.162 MB / 0.6318 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.4902, allocations: 8 kB / 0.6318 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4902, allocations: 4 kB / 0.6318 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.4902, allocations: 3.984 kB / 0.6318 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0178/0.508, allocations: 5.75 MB / 0.6375 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.5081, allocations: 0 / 0.6375 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005551/0.5086, allocations: 91.83 kB / 0.6375 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007724/0.5164, allocations: 2.059 MB / 0.6396 GB, free: 8.125 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002157/0.5166, allocations: 12 kB / 0.6396 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02391/0.5405, allocations: 8.943 MB / 0.6483 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.5406, allocations: 3.938 kB / 0.6483 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01721/0.5578, allocations: 5.181 MB / 0.6534 GB, free: 9.809 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004082/0.5582, allocations: 207.5 kB / 0.6536 GB, free: 9.586 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002873/0.5585, allocations: 16 kB / 0.6536 GB, free: 9.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/0.5598, allocations: 107.9 kB / 0.6537 GB, free: 9.465 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000816/0.5607, allocations: 232.7 kB / 0.6539 GB, free: 9.234 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.5608, allocations: 24 kB / 0.6539 GB, free: 9.211 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008622/0.5617, allocations: 0.5789 MB / 0.6545 GB, free: 8.621 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5617, allocations: 0 / 0.6545 GB, free: 8.621 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001433/0.5631, allocations: 415.6 kB / 0.6549 GB, free: 8.215 MB / 462.1 MB 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.01748/0.5806, allocations: 5.761 MB / 0.6605 GB, free: 2.414 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008678/0.5893, allocations: 2.532 MB / 0.663 GB, free: 15.85 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.5894, allocations: 256 / 0.663 GB, free: 15.85 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006119/0.5955, allocations: 1.771 MB / 0.6647 GB, free: 14.05 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.5966, allocations: 83.5 kB / 0.6648 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04229/0.6389, allocations: 15.64 MB / 0.6801 GB, free: 13.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006567/0.6396, allocations: 1.053 MB / 0.6811 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003479/0.64, allocations: 82.3 kB / 0.6812 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005527/0.6406, allocations: 411.3 kB / 0.6816 GB, free: 12.37 MB / 494.1 MB Notification: Performance of SimCode: time 7.72e-07/0.6406, allocations: 0 / 0.6816 GB, free: 12.37 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06582/0.7064, allocations: 35.33 MB / 0.7161 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.74, allocations: 15.95 kB / 0.7161 GB, free: 9.156 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal_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_VoltageSourceReImInputVaryReal.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.pipe 2>&1)