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.001381/0.001381, 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.354/1.354, allocations: 222.9 MB / 239.3 MB, free: 4.637 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.001374/0.001374, allocations: 187.6 kB / 289.6 MB, free: 2.355 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.507/0.507, allocations: 91.9 MB / 431.6 MB, free: 9.289 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 75.88 kB / 0.502 GB, free: 7.668 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3031, allocations: 71.27 MB / 0.5716 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag): time 0.004845/0.308, allocations: 6.125 MB / 0.5776 GB, free: 33.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.311, allocations: 1.796 MB / 0.5793 GB, free: 32.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005168/0.3115, allocations: 7.781 kB / 0.5793 GB, free: 32.15 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004887/0.3121, allocations: 232.8 kB / 0.5795 GB, free: 32.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.3132, allocations: 0.5492 MB / 0.5801 GB, free: 31.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.3146, allocations: 0.7671 MB / 0.5808 GB, free: 31.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001213/0.3158, allocations: 1.369 MB / 0.5822 GB, free: 30.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003636/0.3162, allocations: 283.7 kB / 0.5824 GB, free: 30.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005264/0.3167, allocations: 0.5565 MB / 0.583 GB, free: 30.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006079/0.3173, allocations: 0.7095 MB / 0.5837 GB, free: 29.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.3175, allocations: 108.9 kB / 0.5838 GB, free: 29.83 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004159/0.3179, allocations: 213.3 kB / 0.584 GB, free: 29.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.3181, allocations: 279.5 kB / 0.5842 GB, free: 29.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003722/0.3185, allocations: 0.5968 MB / 0.5848 GB, free: 29.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.3196, allocations: 1.45 MB / 0.5862 GB, free: 28.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3196, allocations: 1.156 kB / 0.5862 GB, free: 28.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3196, allocations: 3.344 kB / 0.5862 GB, free: 28.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.812e-05/0.3196, allocations: 0 / 0.5862 GB, free: 28.55 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.008118/0.3278, allocations: 2.516 MB / 0.5887 GB, free: 27.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3278, allocations: 16.16 kB / 0.5887 GB, free: 27.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/0.3279, allocations: 121.3 kB / 0.5888 GB, free: 27.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004114/0.3321, allocations: 0.6692 MB / 0.5895 GB, free: 27.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.3331, allocations: 0.7399 MB / 0.5902 GB, free: 26.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002937/0.3334, allocations: 347 kB / 0.5905 GB, free: 26.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.3336, allocations: 78.25 kB / 0.5906 GB, free: 26.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002182/0.3358, allocations: 1.122 MB / 0.5917 GB, free: 25.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.3358, allocations: 4 kB / 0.5917 GB, free: 25.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.194e-05/0.3359, allocations: 29.66 kB / 0.5917 GB, free: 25.87 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.3359, allocations: 17 kB / 0.5918 GB, free: 25.87 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/0.3383, allocations: 1.069 MB / 0.5928 GB, free: 25.53 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.005906/0.3442, allocations: 3.376 MB / 0.5961 GB, free: 23.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007392/0.3516, allocations: 2.293 MB / 0.5983 GB, free: 22.81 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/0.3534, allocations: 0.7421 MB / 0.5991 GB, free: 22.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.3535, allocations: 20.52 kB / 0.5991 GB, free: 22.51 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.3536, allocations: 40.06 kB / 0.5991 GB, free: 22.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.938e-06/0.3536, allocations: 4 kB / 0.5991 GB, free: 22.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02853/0.3821, allocations: 7.018 MB / 0.606 GB, free: 21.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.3822, allocations: 91.55 kB / 0.6061 GB, free: 21.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.3835, allocations: 0.8468 MB / 0.6069 GB, free: 20.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001982/0.3837, allocations: 41.14 kB / 0.6069 GB, free: 20.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/0.384, allocations: 458.9 kB / 0.6074 GB, free: 20.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003003/0.3843, allocations: 311.3 kB / 0.6077 GB, free: 20 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003356/0.3846, allocations: 162.7 kB / 0.6078 GB, free: 19.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.5e-05/0.3847, allocations: 342 kB / 0.6081 GB, free: 19.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/0.3863, allocations: 0.6528 MB / 0.6088 GB, free: 19.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/0.3879, allocations: 0.7938 MB / 0.6096 GB, free: 19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003135/0.3911, allocations: 1.467 MB / 0.611 GB, free: 18.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.3911, allocations: 1.281 kB / 0.611 GB, free: 18.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01499/0.4061, allocations: 4.26 MB / 0.6151 GB, free: 16.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.4061, allocations: 6.938 kB / 0.6152 GB, free: 16.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.4062, allocations: 7.516 kB / 0.6152 GB, free: 16.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007288/0.4135, allocations: 2.16 MB / 0.6173 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006812/0.4142, allocations: 135.8 kB / 0.6174 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02358/0.4378, allocations: 10.08 MB / 0.6272 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.4393, allocations: 171 kB / 0.6274 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.567e-05/0.4394, allocations: 32 kB / 0.6274 GB, free: 4.727 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.0003814/0.4398, allocations: 235.4 kB / 0.6277 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/0.4401, allocations: 110.7 kB / 0.6278 GB, free: 4.379 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/0.4538, allocations: 4.154 MB / 0.6318 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.4538, allocations: 8 kB / 0.6318 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4538, allocations: 4 kB / 0.6318 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.4539, allocations: 3.984 kB / 0.6318 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/0.4711, allocations: 5.754 MB / 0.6375 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.4711, allocations: 0 / 0.6375 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005166/0.4717, allocations: 87.89 kB / 0.6375 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007127/0.4788, allocations: 2.059 MB / 0.6396 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.479, allocations: 12 kB / 0.6396 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02257/0.5015, allocations: 8.935 MB / 0.6483 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.5016, allocations: 3.938 kB / 0.6483 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01656/0.5181, allocations: 5.177 MB / 0.6533 GB, free: 9.855 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003821/0.5185, allocations: 203.4 kB / 0.6535 GB, free: 9.637 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.5187, allocations: 16 kB / 0.6536 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.5199, allocations: 111.9 kB / 0.6537 GB, free: 9.512 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007075/0.5206, allocations: 232.6 kB / 0.6539 GB, free: 9.281 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-05/0.5207, allocations: 28 kB / 0.6539 GB, free: 9.254 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007482/0.5214, allocations: 0.5867 MB / 0.6545 GB, free: 8.656 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5214, allocations: 0 / 0.6545 GB, free: 8.656 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001263/0.5227, allocations: 419.6 kB / 0.6549 GB, free: 8.246 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.01701/0.5397, allocations: 5.749 MB / 0.6605 GB, free: 2.457 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008115/0.5479, allocations: 2.536 MB / 0.663 GB, free: 15.89 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.5479, allocations: 0 / 0.663 GB, free: 15.89 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005703/0.5536, allocations: 1.759 MB / 0.6647 GB, free: 14.09 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009115/0.5546, allocations: 91.48 kB / 0.6648 GB, free: 14 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03999/0.5946, allocations: 15.63 MB / 0.68 GB, free: 13.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006612/0.5953, allocations: 1.057 MB / 0.6811 GB, free: 12.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003516/0.5956, allocations: 90.23 kB / 0.6812 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004833/0.5961, allocations: 407.3 kB / 0.6816 GB, free: 12.41 MB / 494.1 MB Notification: Performance of SimCode: time 6.32e-07/0.5961, allocations: 0 / 0.6816 GB, free: 12.41 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06966/0.6658, allocations: 35.33 MB / 0.7161 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.78, allocations: 13.3 kB / 0.7161 GB, free: 9.195 MB / 0.5137 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)