Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.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.VoltageSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant",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.001587/0.001587, allocations: 108 kB / 15.6 MB, free: 132 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.454/1.454, allocations: 222.9 MB / 239.2 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.001237/0.001237, allocations: 191.4 kB / 289.6 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4913/0.4913, allocations: 91.9 MB / 431.6 MB, free: 9.238 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 75.88 kB / 0.502 GB, free: 7.605 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3479, allocations: 71.25 MB / 0.5716 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant): time 0.005081/0.353, allocations: 6.076 MB / 0.5775 GB, free: 33.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002688/0.3557, allocations: 1.788 MB / 0.5792 GB, free: 31.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003963/0.3561, allocations: 8.594 kB / 0.5792 GB, free: 31.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004492/0.3566, allocations: 234.6 kB / 0.5795 GB, free: 31.85 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.3577, allocations: 0.5473 MB / 0.58 GB, free: 31.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.3591, allocations: 0.7506 MB / 0.5807 GB, free: 31.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001101/0.3602, allocations: 1.36 MB / 0.5821 GB, free: 30.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003584/0.3605, allocations: 296.5 kB / 0.5823 GB, free: 30.28 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005139/0.3611, allocations: 0.5387 MB / 0.5829 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006048/0.3617, allocations: 0.7114 MB / 0.5836 GB, free: 29.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.3618, allocations: 108.5 kB / 0.5837 GB, free: 29.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000378/0.3622, allocations: 213.7 kB / 0.5839 GB, free: 29.63 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.3624, allocations: 274.2 kB / 0.5841 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003651/0.3628, allocations: 0.5903 MB / 0.5847 GB, free: 29.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.3638, allocations: 1.446 MB / 0.5861 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3638, allocations: 0 / 0.5861 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3638, allocations: 0 / 0.5861 GB, free: 28.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.233e-05/0.3639, allocations: 0 / 0.5861 GB, free: 28.39 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.007965/0.3718, allocations: 2.504 MB / 0.5886 GB, free: 27.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3719, allocations: 8.594 kB / 0.5886 GB, free: 27.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.372, allocations: 123.6 kB / 0.5887 GB, free: 27.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004246/0.3763, allocations: 0.672 MB / 0.5893 GB, free: 27.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009752/0.3773, allocations: 0.7376 MB / 0.5901 GB, free: 26.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003024/0.3776, allocations: 340.9 kB / 0.5904 GB, free: 26.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.3777, allocations: 78.59 kB / 0.5905 GB, free: 26.17 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/0.3798, allocations: 1.115 MB / 0.5916 GB, free: 25.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.3799, allocations: 0 / 0.5916 GB, free: 25.74 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-05/0.38, allocations: 26.88 kB / 0.5916 GB, free: 25.72 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.38, allocations: 16.06 kB / 0.5916 GB, free: 25.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/0.3822, allocations: 1.044 MB / 0.5926 GB, free: 25.38 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.005842/0.3881, allocations: 3.462 MB / 0.596 GB, free: 23.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01347/0.4016, allocations: 3.085 MB / 0.599 GB, free: 22.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002289/0.4039, allocations: 0.7177 MB / 0.5997 GB, free: 22.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.4041, allocations: 18.77 kB / 0.5997 GB, free: 22.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.4041, allocations: 43.72 kB / 0.5998 GB, free: 22.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 4.198e-06/0.4041, allocations: 0 / 0.5998 GB, free: 22.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.03404/0.4382, allocations: 7.707 MB / 0.6073 GB, free: 20.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.4382, allocations: 90.52 kB / 0.6074 GB, free: 20.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.4395, allocations: 0.8825 MB / 0.6082 GB, free: 20.37 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001675/0.4396, allocations: 40.36 kB / 0.6083 GB, free: 20.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.4399, allocations: 464.3 kB / 0.6087 GB, free: 19.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.4402, allocations: 299.4 kB / 0.609 GB, free: 19.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003535/0.4405, allocations: 157.5 kB / 0.6092 GB, free: 19.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.446e-05/0.4406, allocations: 344 kB / 0.6095 GB, free: 19.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/0.4422, allocations: 0.6299 MB / 0.6101 GB, free: 19.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.4437, allocations: 0.7988 MB / 0.6109 GB, free: 18.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002902/0.4466, allocations: 1.451 MB / 0.6123 GB, free: 17.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.4466, allocations: 1.281 kB / 0.6123 GB, free: 17.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01451/0.4611, allocations: 4.222 MB / 0.6164 GB, free: 15.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.4612, allocations: 6.125 kB / 0.6164 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.4612, allocations: 4.688 kB / 0.6164 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007103/0.4683, allocations: 2.162 MB / 0.6186 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/0.469, allocations: 127.8 kB / 0.6187 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02344/0.4925, allocations: 10.09 MB / 0.6285 GB, free: 3.535 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.494, allocations: 159 kB / 0.6287 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.348e-05/0.4941, allocations: 39.98 kB / 0.6287 GB, free: 3.34 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (78): * Single equations (assignments): 76 * 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.0003553/0.4945, allocations: 221.7 kB / 0.6289 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.4947, allocations: 110.6 kB / 0.629 GB, free: 3.004 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01367/0.5084, allocations: 4.123 MB / 0.6331 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/0.5084, allocations: 19.94 kB / 0.6331 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5084, allocations: 3.938 kB / 0.6331 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.229e-05/0.5085, allocations: 3.984 kB / 0.6331 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01623/0.5247, allocations: 5.556 MB / 0.6385 GB, free: 9.156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.5247, allocations: 0 / 0.6385 GB, free: 9.156 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004275/0.5252, allocations: 71.91 kB / 0.6386 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007231/0.5324, allocations: 2.055 MB / 0.6406 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-05/0.5325, allocations: 16 kB / 0.6406 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02295/0.5555, allocations: 8.935 MB / 0.6493 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5555, allocations: 0 / 0.6493 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01665/0.5722, allocations: 5.088 MB / 0.6543 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003671/0.5726, allocations: 195.5 kB / 0.6545 GB, free: 8.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.5728, allocations: 16 kB / 0.6545 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.5739, allocations: 107.9 kB / 0.6546 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006818/0.5746, allocations: 228.6 kB / 0.6548 GB, free: 8.246 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-05/0.5747, allocations: 20 kB / 0.6548 GB, free: 8.227 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007271/0.5754, allocations: 0.607 MB / 0.6554 GB, free: 7.609 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5754, allocations: 0 / 0.6554 GB, free: 7.609 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001184/0.5766, allocations: 411.7 kB / 0.6558 GB, free: 7.207 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 (46): * Single equations (assignments): 44 * 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.01685/0.5935, allocations: 5.644 MB / 0.6613 GB, free: 1.531 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007932/0.6014, allocations: 2.497 MB / 0.6638 GB, free: 15 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6014, allocations: 0 / 0.6638 GB, free: 15 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005708/0.6072, allocations: 1.713 MB / 0.6655 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008648/0.608, allocations: 96.5 kB / 0.6655 GB, free: 13.16 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04001/0.6481, allocations: 15.65 MB / 0.6808 GB, free: 13.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007061/0.6488, allocations: 1.053 MB / 0.6819 GB, free: 12.01 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003546/0.6492, allocations: 74.31 kB / 0.6819 GB, free: 11.94 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004857/0.6497, allocations: 407.3 kB / 0.6823 GB, free: 11.54 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6497, allocations: 4 kB / 0.6823 GB, free: 11.54 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07033/0.72, allocations: 35.06 MB / 0.7166 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.71, allocations: 16.86 kB / 0.7166 GB, free: 8.582 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant_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_VoltageSourceReImInputConstant.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe 2>&1)