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.001692/0.001692, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.411/1.411, allocations: 222.9 MB / 238.8 MB, free: 4.742 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.001558/0.001558, allocations: 196.4 kB / 289.1 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5162/0.5162, allocations: 91.89 MB / 431.2 MB, free: 9.449 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001579, allocations: 79.88 kB / 0.5012 GB, free: 8.199 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3896, allocations: 71.25 MB / 0.5708 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag): time 0.005397/0.395, allocations: 6.502 MB / 0.5771 GB, free: 32.69 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003353/0.3984, allocations: 1.853 MB / 0.5789 GB, free: 31.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005055/0.399, allocations: 11.91 kB / 0.579 GB, free: 31.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004867/0.3995, allocations: 179.9 kB / 0.5791 GB, free: 31.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.4005, allocations: 489.4 kB / 0.5796 GB, free: 31.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.4019, allocations: 0.7244 MB / 0.5803 GB, free: 30.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.4029, allocations: 1.301 MB / 0.5816 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003075/0.4033, allocations: 256.5 kB / 0.5818 GB, free: 30.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004683/0.4037, allocations: 0.5154 MB / 0.5823 GB, free: 29.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005137/0.4043, allocations: 0.674 MB / 0.583 GB, free: 29.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.4044, allocations: 75.12 kB / 0.583 GB, free: 29.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003449/0.4047, allocations: 181.6 kB / 0.5832 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.4049, allocations: 239.2 kB / 0.5834 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003493/0.4053, allocations: 0.5661 MB / 0.584 GB, free: 29.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009317/0.4062, allocations: 1.405 MB / 0.5854 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4062, allocations: 0 / 0.5854 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4062, allocations: 3.938 kB / 0.5854 GB, free: 28.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.4062, allocations: 0 / 0.5854 GB, free: 28.37 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.007977/0.4142, allocations: 2.526 MB / 0.5878 GB, free: 27.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4143, allocations: 9.812 kB / 0.5879 GB, free: 27.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004203/0.4185, allocations: 0.6715 MB / 0.5885 GB, free: 27.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.4195, allocations: 0.7407 MB / 0.5892 GB, free: 26.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003005/0.4198, allocations: 346 kB / 0.5896 GB, free: 26.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.42, allocations: 70.5 kB / 0.5896 GB, free: 26.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/0.4222, allocations: 1.125 MB / 0.5907 GB, free: 25.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.4222, allocations: 3.984 kB / 0.5907 GB, free: 25.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.894e-05/0.4223, allocations: 29.25 kB / 0.5908 GB, free: 25.78 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.4224, allocations: 17.16 kB / 0.5908 GB, free: 25.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.4246, allocations: 1.076 MB / 0.5918 GB, free: 25.43 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.005662/0.4303, allocations: 3.371 MB / 0.5951 GB, free: 23.51 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00723/0.4376, allocations: 2.291 MB / 0.5974 GB, free: 22.72 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00179/0.4394, allocations: 0.7404 MB / 0.5981 GB, free: 22.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/0.4395, allocations: 23.17 kB / 0.5981 GB, free: 22.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.4396, allocations: 43.41 kB / 0.5981 GB, free: 22.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.685e-06/0.4396, allocations: 0 / 0.5981 GB, free: 22.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02844/0.468, allocations: 7.027 MB / 0.605 GB, free: 21.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.4681, allocations: 88.81 kB / 0.6051 GB, free: 20.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.4693, allocations: 0.8469 MB / 0.6059 GB, free: 20.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002219/0.4695, allocations: 41.23 kB / 0.606 GB, free: 20.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/0.4698, allocations: 453.6 kB / 0.6064 GB, free: 20.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/0.4701, allocations: 315.7 kB / 0.6067 GB, free: 19.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003508/0.4705, allocations: 155.1 kB / 0.6068 GB, free: 19.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.882e-05/0.4706, allocations: 342.1 kB / 0.6072 GB, free: 19.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/0.4722, allocations: 0.6532 MB / 0.6078 GB, free: 19.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.4738, allocations: 0.7971 MB / 0.6086 GB, free: 18.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003027/0.4768, allocations: 1.463 MB / 0.61 GB, free: 18.24 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.4768, allocations: 1.188 kB / 0.61 GB, free: 18.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01507/0.4919, allocations: 4.263 MB / 0.6142 GB, free: 16.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.492, allocations: 6.406 kB / 0.6142 GB, free: 16.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.492, allocations: 3.875 kB / 0.6142 GB, free: 16.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007159/0.4991, allocations: 2.156 MB / 0.6163 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007882/0.5, allocations: 135.8 kB / 0.6164 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02138/0.5214, allocations: 9.267 MB / 0.6255 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/0.523, allocations: 167 kB / 0.6256 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.917e-05/0.5232, allocations: 35.98 kB / 0.6257 GB, free: 5.977 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.0004266/0.5236, allocations: 225.7 kB / 0.6259 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.5238, allocations: 110.6 kB / 0.626 GB, free: 5.637 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/0.5365, allocations: 4.158 MB / 0.63 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.5366, allocations: 15.94 kB / 0.6301 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5366, allocations: 0 / 0.6301 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.5366, allocations: 3.984 kB / 0.6301 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01643/0.5531, allocations: 5.746 MB / 0.6357 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.5531, allocations: 0 / 0.6357 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000504/0.5536, allocations: 87.83 kB / 0.6358 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006897/0.5605, allocations: 2.055 MB / 0.6378 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/0.5607, allocations: 23.94 kB / 0.6378 GB, free: 9.391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02083/0.5815, allocations: 8.151 MB / 0.6457 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.5816, allocations: 3.938 kB / 0.6457 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01567/0.5973, allocations: 5.166 MB / 0.6508 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004236/0.5977, allocations: 203.6 kB / 0.651 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/0.5979, allocations: 27.92 kB / 0.651 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.599, allocations: 107.9 kB / 0.6511 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007424/0.5998, allocations: 224.5 kB / 0.6513 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.497e-05/0.5999, allocations: 28 kB / 0.6514 GB, free: 11.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007526/0.6006, allocations: 0.5789 MB / 0.6519 GB, free: 10.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6006, allocations: 0 / 0.6519 GB, free: 10.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001299/0.602, allocations: 419.6 kB / 0.6523 GB, free: 10.3 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.0002299/0.6022, allocations: 115.5 kB / 0.6524 GB, free: 10.18 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007536/0.6097, allocations: 2.483 MB / 0.6549 GB, free: 7.668 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.6098, allocations: 0 / 0.6549 GB, free: 7.668 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005666/0.6155, allocations: 1.718 MB / 0.6565 GB, free: 5.914 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.6166, allocations: 92.91 kB / 0.6566 GB, free: 5.828 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.6206, allocations: 2.297 MB / 0.6589 GB, free: 3.508 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006466/0.6213, allocations: 1.053 MB / 0.6599 GB, free: 2.426 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003614/0.6217, allocations: 82.31 kB / 0.66 GB, free: 2.344 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.6219, allocations: 59.42 kB / 0.66 GB, free: 2.285 MB / 462.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6219, allocations: 0 / 0.66 GB, free: 2.285 MB / 462.1 MB Notification: Performance of Templates: time 0.0375/0.6594, allocations: 23.77 MB / 0.6832 GB, free: 10.52 MB / 494.1 MB 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)