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: translateModel(OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant") translateModel(OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009615/0.0009618, allocations: 98.64 kB / 16.02 MB, free: 76 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.357/1.357, allocations: 223.3 MB / 240 MB, free: 5.406 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.001187/0.001187, allocations: 168.6 kB / 291.3 MB, free: 2.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5348/0.5348, allocations: 91.93 MB / 434.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004111/0.000411, allocations: 12 kB / 0.5054 GB, free: 7.223 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.377, allocations: 72.47 MB / 0.5762 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant): time 0.004516/0.3816, allocations: 5.995 MB / 0.582 GB, free: 32.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003243/0.3849, allocations: 1.818 MB / 0.5838 GB, free: 31.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007512/0.3857, allocations: 10.91 kB / 0.5838 GB, free: 31.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005719/0.3863, allocations: 181.9 kB / 0.584 GB, free: 31.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.3877, allocations: 484.5 kB / 0.5844 GB, free: 31.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.3892, allocations: 0.7056 MB / 0.5851 GB, free: 30.63 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001471/0.3907, allocations: 1.308 MB / 0.5864 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003714/0.3911, allocations: 244.3 kB / 0.5866 GB, free: 29.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005928/0.3917, allocations: 496.2 kB / 0.5871 GB, free: 29.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000643/0.3923, allocations: 0.6511 MB / 0.5877 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.3924, allocations: 59.44 kB / 0.5878 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003826/0.3928, allocations: 159.6 kB / 0.588 GB, free: 29.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.393, allocations: 224.4 kB / 0.5882 GB, free: 29.19 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003541/0.3934, allocations: 0.5704 MB / 0.5887 GB, free: 28.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000734/0.3941, allocations: 1.066 MB / 0.5898 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3941, allocations: 0 / 0.5898 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.3941, allocations: 0 / 0.5898 GB, free: 28.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.3941, allocations: 3.938 kB / 0.5898 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.007311/0.4015, allocations: 2.337 MB / 0.5921 GB, free: 27.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.4015, allocations: 9.156 kB / 0.5921 GB, free: 27.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004235/0.4058, allocations: 0.6777 MB / 0.5927 GB, free: 27.37 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.4069, allocations: 0.7398 MB / 0.5934 GB, free: 26.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003114/0.4072, allocations: 365.3 kB / 0.5938 GB, free: 26.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.4073, allocations: 64.12 kB / 0.5939 GB, free: 26.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.4096, allocations: 1.198 MB / 0.595 GB, free: 26.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.4097, allocations: 0 / 0.595 GB, free: 26.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.145e-05/0.4098, allocations: 25.25 kB / 0.5951 GB, free: 26.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.4098, allocations: 21.72 kB / 0.5951 GB, free: 26.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/0.4121, allocations: 1.137 MB / 0.5962 GB, free: 25.67 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.005856/0.418, allocations: 3.524 MB / 0.5996 GB, free: 23.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01369/0.4317, allocations: 4.03 MB / 0.6036 GB, free: 22.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001889/0.4336, allocations: 0.7892 MB / 0.6043 GB, free: 22.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.4337, allocations: 15.23 kB / 0.6043 GB, free: 22.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.4338, allocations: 48.02 kB / 0.6044 GB, free: 22.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.066e-06/0.4338, allocations: 0 / 0.6044 GB, free: 22.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.03662/0.4704, allocations: 9.517 MB / 0.6137 GB, free: 20.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.4705, allocations: 91.38 kB / 0.6138 GB, free: 20.69 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.4719, allocations: 0.8858 MB / 0.6146 GB, free: 20.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002346/0.4722, allocations: 39.95 kB / 0.6147 GB, free: 20.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.4725, allocations: 457.1 kB / 0.6151 GB, free: 19.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000346/0.4728, allocations: 295 kB / 0.6154 GB, free: 19.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.473, allocations: 82.33 kB / 0.6155 GB, free: 19.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.084e-05/0.4731, allocations: 346 kB / 0.6158 GB, free: 19.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.4748, allocations: 0.7153 MB / 0.6165 GB, free: 19.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.4765, allocations: 0.8803 MB / 0.6174 GB, free: 18.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003182/0.4797, allocations: 1.608 MB / 0.6189 GB, free: 17.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.4798, allocations: 0 / 0.6189 GB, free: 17.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01494/0.4947, allocations: 5.216 MB / 0.624 GB, free: 12.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.4948, allocations: 8 kB / 0.624 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.4948, allocations: 7.938 kB / 0.624 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007395/0.5022, allocations: 2.529 MB / 0.6265 GB, free: 9.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006657/0.5029, allocations: 127.8 kB / 0.6266 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02436/0.5273, allocations: 10.47 MB / 0.6369 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.5291, allocations: 207 kB / 0.6371 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.5292, allocations: 31.98 kB / 0.6371 GB, free: 14.55 MB / 446.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.0005189/0.5298, allocations: 234.4 kB / 0.6373 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002715/0.53, allocations: 110.6 kB / 0.6374 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01645/0.5465, allocations: 5.111 MB / 0.6424 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.5466, allocations: 12 kB / 0.6424 GB, free: 9.055 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.5466, allocations: 0 / 0.6424 GB, free: 9.055 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-05/0.5466, allocations: 7.984 kB / 0.6424 GB, free: 9.047 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01854/0.5652, allocations: 6.552 MB / 0.6488 GB, free: 2.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.5652, allocations: 4 kB / 0.6488 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004564/0.5657, allocations: 71.91 kB / 0.6489 GB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008147/0.5739, allocations: 2.422 MB / 0.6513 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/0.5741, allocations: 16 kB / 0.6513 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02457/0.5986, allocations: 9.198 MB / 0.6603 GB, free: 6.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.5987, allocations: 4 kB / 0.6603 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01827/0.617, allocations: 6.15 MB / 0.6663 GB, free: 348 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004598/0.6175, allocations: 207.5 kB / 0.6665 GB, free: 120 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002955/0.6178, allocations: 12 kB / 0.6665 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.6191, allocations: 143.9 kB / 0.6666 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007482/0.6199, allocations: 224.5 kB / 0.6668 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.064e-05/0.62, allocations: 19.98 kB / 0.6668 GB, free: 15.72 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008902/0.6209, allocations: 0.6031 MB / 0.6674 GB, free: 15.11 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6209, allocations: 0 / 0.6674 GB, free: 15.11 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001501/0.6224, allocations: 415.6 kB / 0.6678 GB, free: 14.7 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 (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.0002671/0.6227, allocations: 117 kB / 0.6679 GB, free: 14.58 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008519/0.6312, allocations: 2.804 MB / 0.6707 GB, free: 11.73 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.6313, allocations: 0 / 0.6707 GB, free: 11.73 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006477/0.6378, allocations: 1.965 MB / 0.6726 GB, free: 9.742 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.639, allocations: 101.4 kB / 0.6727 GB, free: 9.648 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0043/0.6433, allocations: 2.352 MB / 0.675 GB, free: 7.266 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007466/0.6441, allocations: 1.049 MB / 0.676 GB, free: 6.188 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.6444, allocations: 59.42 kB / 0.6761 GB, free: 6.129 MB / 478.1 MB Notification: Performance of SimCode: time 1.172e-06/0.6444, allocations: 0 / 0.6761 GB, free: 6.129 MB / 478.1 MB Notification: Performance of Templates: time 0.03241/0.6769, allocations: 22.82 MB / 0.6984 GB, free: 15.29 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe 2>&1)