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: translateModel(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag") translateModel(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009731/0.0009727, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.383/1.383, allocations: 223.3 MB / 239.4 MB, free: 5.434 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.001052/0.001053, allocations: 180.5 kB / 290.6 MB, free: 2.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5467/0.5467, allocations: 91.92 MB / 433.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003976, allocations: 12.33 kB / 0.5047 GB, free: 7.316 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3715, allocations: 72.47 MB / 0.5755 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag): time 0.004582/0.3762, allocations: 6.048 MB / 0.5814 GB, free: 32.83 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003046/0.3793, allocations: 1.816 MB / 0.5832 GB, free: 31.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004684/0.3798, allocations: 11.31 kB / 0.5832 GB, free: 31.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004259/0.3802, allocations: 185.8 kB / 0.5834 GB, free: 31.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.3813, allocations: 488.6 kB / 0.5839 GB, free: 31.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.3827, allocations: 0.7254 MB / 0.5846 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001206/0.3839, allocations: 1.305 MB / 0.5858 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003385/0.3842, allocations: 250.2 kB / 0.5861 GB, free: 29.99 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005158/0.3848, allocations: 498.6 kB / 0.5865 GB, free: 29.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005849/0.3854, allocations: 0.6636 MB / 0.5872 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.3855, allocations: 58.62 kB / 0.5873 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003566/0.3858, allocations: 166.9 kB / 0.5874 GB, free: 29.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.386, allocations: 221.5 kB / 0.5876 GB, free: 29.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003592/0.3864, allocations: 0.5708 MB / 0.5882 GB, free: 28.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009254/0.3873, allocations: 1.376 MB / 0.5895 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3873, allocations: 0 / 0.5895 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3873, allocations: 0 / 0.5895 GB, free: 28.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.3873, allocations: 0 / 0.5895 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.00786/0.3952, allocations: 2.367 MB / 0.5918 GB, free: 27.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.3953, allocations: 12.42 kB / 0.5918 GB, free: 27.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004526/0.3998, allocations: 0.6794 MB / 0.5925 GB, free: 27.26 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.4013, allocations: 0.7408 MB / 0.5932 GB, free: 26.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003507/0.4016, allocations: 351.4 kB / 0.5936 GB, free: 26.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.4018, allocations: 78.66 kB / 0.5936 GB, free: 26.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002775/0.4046, allocations: 1.212 MB / 0.5948 GB, free: 25.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.4046, allocations: 0 / 0.5948 GB, free: 25.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.99e-05/0.4047, allocations: 25.41 kB / 0.5949 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/0.4048, allocations: 17.97 kB / 0.5949 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002549/0.4073, allocations: 1.183 MB / 0.596 GB, free: 25.56 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.006269/0.4136, allocations: 3.442 MB / 0.5994 GB, free: 23.63 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0083/0.4219, allocations: 2.865 MB / 0.6022 GB, free: 22.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002077/0.4241, allocations: 0.8319 MB / 0.603 GB, free: 22.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.4242, allocations: 13.86 kB / 0.603 GB, free: 22.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.4242, allocations: 47.64 kB / 0.6031 GB, free: 22.42 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.855e-06/0.4242, allocations: 1.281 kB / 0.6031 GB, free: 22.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.03188/0.4561, allocations: 8.753 MB / 0.6116 GB, free: 20.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.4562, allocations: 91.97 kB / 0.6117 GB, free: 20.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.4577, allocations: 0.8463 MB / 0.6125 GB, free: 20.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002534/0.4579, allocations: 41.3 kB / 0.6126 GB, free: 20.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.4583, allocations: 458.5 kB / 0.613 GB, free: 19.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003606/0.4586, allocations: 310.8 kB / 0.6133 GB, free: 19.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.4588, allocations: 83.86 kB / 0.6134 GB, free: 19.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.4589, allocations: 340.5 kB / 0.6137 GB, free: 19.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/0.4608, allocations: 0.7384 MB / 0.6144 GB, free: 19.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/0.4627, allocations: 0.8808 MB / 0.6153 GB, free: 18.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003618/0.4664, allocations: 1.64 MB / 0.6169 GB, free: 18.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.525e-06/0.4664, allocations: 0.9688 kB / 0.6169 GB, free: 18.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01602/0.4824, allocations: 5.261 MB / 0.622 GB, free: 13.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.4825, allocations: 8.312 kB / 0.622 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.4825, allocations: 12 kB / 0.622 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007595/0.4901, allocations: 2.521 MB / 0.6245 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007295/0.4909, allocations: 139.8 kB / 0.6246 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02452/0.5154, allocations: 10.47 MB / 0.6349 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.5171, allocations: 211.1 kB / 0.6351 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.222e-05/0.5172, allocations: 32 kB / 0.6351 GB, free: 164 kB / 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.0004619/0.5177, allocations: 217.7 kB / 0.6353 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/0.5179, allocations: 118.5 kB / 0.6354 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0165/0.5344, allocations: 5.158 MB / 0.6404 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.5345, allocations: 11.94 kB / 0.6405 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.5345, allocations: 4 kB / 0.6405 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.994e-05/0.5346, allocations: 3.984 kB / 0.6405 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01954/0.5541, allocations: 6.75 MB / 0.6471 GB, free: 3.746 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.5541, allocations: 0 / 0.6471 GB, free: 3.746 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005538/0.5547, allocations: 95.89 kB / 0.6471 GB, free: 3.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008282/0.563, allocations: 2.426 MB / 0.6495 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001701/0.5632, allocations: 19.94 kB / 0.6495 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0245/0.5877, allocations: 9.202 MB / 0.6585 GB, free: 7.855 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5877, allocations: 4 kB / 0.6585 GB, free: 7.852 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01867/0.6064, allocations: 6.267 MB / 0.6646 GB, free: 1.559 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005871/0.6071, allocations: 195.6 kB / 0.6648 GB, free: 1.348 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.6073, allocations: 19.94 kB / 0.6649 GB, free: 1.328 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.6085, allocations: 151.9 kB / 0.665 GB, free: 1.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007598/0.6093, allocations: 224.6 kB / 0.6652 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.849e-05/0.6093, allocations: 20 kB / 0.6652 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007573/0.6101, allocations: 0.5789 MB / 0.6658 GB, free: 360 kB / 462.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6101, allocations: 4 kB / 0.6658 GB, free: 356 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.001397/0.6115, allocations: 419.6 kB / 0.6662 GB, free: 15.93 MB / 478.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.000256/0.6118, allocations: 122.4 kB / 0.6663 GB, free: 15.81 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008601/0.6204, allocations: 2.862 MB / 0.6691 GB, free: 12.91 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.6204, allocations: 0 / 0.6691 GB, free: 12.91 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006577/0.627, allocations: 2.007 MB / 0.6711 GB, free: 10.87 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.6282, allocations: 95.48 kB / 0.6712 GB, free: 10.78 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/0.6321, allocations: 2.344 MB / 0.6735 GB, free: 8.41 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006415/0.6328, allocations: 1.053 MB / 0.6745 GB, free: 7.324 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003577/0.6332, allocations: 82.31 kB / 0.6746 GB, free: 7.242 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.6334, allocations: 59.42 kB / 0.6746 GB, free: 7.184 MB / 478.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6334, allocations: 0 / 0.6746 GB, free: 7.184 MB / 478.1 MB Notification: Performance of Templates: time 0.03743/0.6708, allocations: 23.29 MB / 0.6974 GB, free: 15.89 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.pipe 2>&1)