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.001225/0.001225, 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.426/1.426, allocations: 222.9 MB / 238.9 MB, free: 4.754 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.001553/0.001553, allocations: 204.4 kB / 289.2 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.589/0.589, allocations: 91.9 MB / 431.2 MB, free: 9.465 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 75.89 kB / 0.5013 GB, free: 8.082 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.4274, allocations: 71.26 MB / 0.5709 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag): time 0.005727/0.4332, allocations: 6.504 MB / 0.5772 GB, free: 32.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003547/0.4368, allocations: 1.841 MB / 0.579 GB, free: 31.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007841/0.4376, allocations: 10.38 kB / 0.5791 GB, free: 31.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005824/0.4382, allocations: 191.9 kB / 0.5792 GB, free: 31.49 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.4395, allocations: 476.9 kB / 0.5797 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.441, allocations: 0.724 MB / 0.5804 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.4422, allocations: 1.312 MB / 0.5817 GB, free: 30.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003832/0.4426, allocations: 264.6 kB / 0.5819 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006336/0.4432, allocations: 0.5069 MB / 0.5824 GB, free: 29.78 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006557/0.4439, allocations: 0.6805 MB / 0.5831 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.444, allocations: 69.62 kB / 0.5832 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004289/0.4445, allocations: 173.3 kB / 0.5833 GB, free: 29.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002101/0.4447, allocations: 245 kB / 0.5836 GB, free: 29.28 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004619/0.4452, allocations: 0.5666 MB / 0.5841 GB, free: 28.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.4464, allocations: 1.409 MB / 0.5855 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4464, allocations: 4 kB / 0.5855 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4464, allocations: 0 / 0.5855 GB, free: 28.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.861e-05/0.4465, allocations: 3.938 kB / 0.5855 GB, free: 28.27 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.008177/0.4547, allocations: 2.512 MB / 0.5879 GB, free: 27.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.4547, allocations: 9.875 kB / 0.588 GB, free: 27.15 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/0.4549, allocations: 122.8 kB / 0.5881 GB, free: 27.06 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004152/0.459, allocations: 0.6771 MB / 0.5887 GB, free: 26.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.4601, allocations: 0.7378 MB / 0.5895 GB, free: 26.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003251/0.4604, allocations: 344.4 kB / 0.5898 GB, free: 26.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.4606, allocations: 78.12 kB / 0.5899 GB, free: 26.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00234/0.4629, allocations: 1.12 MB / 0.591 GB, free: 25.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.463, allocations: 0 / 0.591 GB, free: 25.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.832e-05/0.4631, allocations: 29.59 kB / 0.591 GB, free: 25.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.4631, allocations: 17.47 kB / 0.591 GB, free: 25.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/0.4658, allocations: 1.078 MB / 0.5921 GB, free: 25.25 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.006483/0.4723, allocations: 3.377 MB / 0.5954 GB, free: 23.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007769/0.48, allocations: 2.286 MB / 0.5976 GB, free: 22.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001961/0.482, allocations: 0.7503 MB / 0.5983 GB, free: 22.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/0.4822, allocations: 15.33 kB / 0.5983 GB, free: 22.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.4822, allocations: 43.91 kB / 0.5984 GB, free: 22.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.657e-06/0.4822, allocations: 0 / 0.5984 GB, free: 22.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02828/0.5105, allocations: 7.021 MB / 0.6052 GB, free: 20.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.5106, allocations: 87.3 kB / 0.6053 GB, free: 20.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.5121, allocations: 0.8462 MB / 0.6061 GB, free: 20.37 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002622/0.5124, allocations: 46.34 kB / 0.6062 GB, free: 20.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003472/0.5127, allocations: 461.6 kB / 0.6066 GB, free: 19.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000381/0.5131, allocations: 307.3 kB / 0.6069 GB, free: 19.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004025/0.5135, allocations: 159.7 kB / 0.6071 GB, free: 19.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.5136, allocations: 341.9 kB / 0.6074 GB, free: 19.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/0.5154, allocations: 0.6534 MB / 0.608 GB, free: 19.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/0.5172, allocations: 0.796 MB / 0.6088 GB, free: 18.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0033/0.5205, allocations: 1.463 MB / 0.6102 GB, free: 18.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.5205, allocations: 2.734 kB / 0.6102 GB, free: 18.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01557/0.5361, allocations: 4.262 MB / 0.6144 GB, free: 16.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.5362, allocations: 5.75 kB / 0.6144 GB, free: 16.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.5362, allocations: 3.531 kB / 0.6144 GB, free: 16.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0073/0.5435, allocations: 2.15 MB / 0.6165 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007467/0.5443, allocations: 131.8 kB / 0.6166 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02175/0.566, allocations: 9.28 MB / 0.6257 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/0.5678, allocations: 171 kB / 0.6259 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.196e-05/0.5679, allocations: 35.98 kB / 0.6259 GB, free: 5.809 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.0004746/0.5684, allocations: 221.7 kB / 0.6261 GB, free: 5.582 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/0.5686, allocations: 114.6 kB / 0.6262 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/0.5816, allocations: 4.154 MB / 0.6303 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.5816, allocations: 11.94 kB / 0.6303 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.5816, allocations: 0 / 0.6303 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/0.5816, allocations: 11.98 kB / 0.6303 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01676/0.5984, allocations: 5.742 MB / 0.6359 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/0.5985, allocations: 4 kB / 0.6359 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005456/0.599, allocations: 87.89 kB / 0.636 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007301/0.6064, allocations: 2.055 MB / 0.638 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001604/0.6065, allocations: 16 kB / 0.638 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02238/0.6289, allocations: 8.147 MB / 0.646 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.629, allocations: 4 kB / 0.646 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01671/0.6457, allocations: 5.174 MB / 0.651 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000486/0.6462, allocations: 199.5 kB / 0.6512 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003546/0.6466, allocations: 23.92 kB / 0.6512 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/0.648, allocations: 107.9 kB / 0.6513 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000832/0.6489, allocations: 232.5 kB / 0.6516 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.649, allocations: 20 kB / 0.6516 GB, free: 11.15 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009464/0.6499, allocations: 0.575 MB / 0.6521 GB, free: 10.56 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6499, allocations: 0 / 0.6521 GB, free: 10.56 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001681/0.6516, allocations: 423.6 kB / 0.6525 GB, free: 10.15 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.01711/0.6688, allocations: 5.761 MB / 0.6582 GB, free: 4.352 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008178/0.677, allocations: 2.472 MB / 0.6606 GB, free: 1.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.677, allocations: 0 / 0.6606 GB, free: 1.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006042/0.6831, allocations: 1.718 MB / 0.6623 GB, free: 92 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.6845, allocations: 91.44 kB / 0.6624 GB, free: 0 / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04446/0.729, allocations: 16.01 MB / 0.678 GB, free: 15.61 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000946/0.73, allocations: 1.053 MB / 0.679 GB, free: 14.53 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004828/0.7305, allocations: 78.31 kB / 0.6791 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007038/0.7313, allocations: 403.3 kB / 0.6795 GB, free: 14.05 MB / 494.1 MB Notification: Performance of SimCode: time 1.503e-06/0.7313, allocations: 0 / 0.6795 GB, free: 14.05 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06477/0.7961, allocations: 32.53 MB / 0.7112 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/0.7963, allocations: 235.9 kB / 0.7115 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.815/3.612, allocations: 0 / 0.7115 GB, free: 13.44 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.pipe 2>&1)