Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.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.VoltageSourceReImInputVaryReal,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryReal",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.001621/0.001621, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.417/1.417, allocations: 222.9 MB / 238.9 MB, free: 4.672 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.001249/0.001249, allocations: 196.4 kB / 289.2 MB, free: 2.418 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5384/0.5384, allocations: 91.91 MB / 431.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 79.86 kB / 0.5013 GB, free: 8.023 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4054, allocations: 71.25 MB / 0.5709 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal): time 0.005685/0.4111, allocations: 6.504 MB / 0.5772 GB, free: 32.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003231/0.4144, allocations: 1.843 MB / 0.579 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003972/0.4148, allocations: 11.5 kB / 0.5791 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004842/0.4153, allocations: 195.3 kB / 0.5792 GB, free: 31.56 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.4163, allocations: 488.8 kB / 0.5797 GB, free: 31.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.4177, allocations: 0.7193 MB / 0.5804 GB, free: 30.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.4187, allocations: 1.316 MB / 0.5817 GB, free: 30.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000326/0.4191, allocations: 255.6 kB / 0.5819 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004016/0.4195, allocations: 0.5059 MB / 0.5824 GB, free: 29.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005213/0.42, allocations: 0.679 MB / 0.5831 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.4201, allocations: 71.72 kB / 0.5832 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.4204, allocations: 175.9 kB / 0.5833 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.4206, allocations: 240.5 kB / 0.5836 GB, free: 29.35 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000359/0.421, allocations: 0.5711 MB / 0.5841 GB, free: 28.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009907/0.422, allocations: 1.403 MB / 0.5855 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.422, allocations: 0 / 0.5855 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.422, allocations: 0 / 0.5855 GB, free: 28.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.422, allocations: 0 / 0.5855 GB, free: 28.35 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.00779/0.4298, allocations: 2.525 MB / 0.588 GB, free: 27.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.4299, allocations: 16.28 kB / 0.588 GB, free: 27.22 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001457/0.43, allocations: 116.8 kB / 0.5881 GB, free: 27.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004068/0.4341, allocations: 0.6756 MB / 0.5887 GB, free: 27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.4351, allocations: 0.7341 MB / 0.5895 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003278/0.4355, allocations: 341.1 kB / 0.5898 GB, free: 26.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.4356, allocations: 78.72 kB / 0.5899 GB, free: 26.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.438, allocations: 1.129 MB / 0.591 GB, free: 25.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.438, allocations: 0 / 0.591 GB, free: 25.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-05/0.4381, allocations: 29.75 kB / 0.591 GB, free: 25.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.4381, allocations: 17.69 kB / 0.591 GB, free: 25.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0024/0.4405, allocations: 1.071 MB / 0.5921 GB, free: 25.33 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.005721/0.4463, allocations: 3.373 MB / 0.5953 GB, free: 23.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007226/0.4535, allocations: 2.289 MB / 0.5976 GB, free: 22.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001626/0.4552, allocations: 0.7433 MB / 0.5983 GB, free: 22.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.4553, allocations: 23.55 kB / 0.5983 GB, free: 22.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.4553, allocations: 43.62 kB / 0.5984 GB, free: 22.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.897e-06/0.4553, allocations: 0 / 0.5984 GB, free: 22.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02836/0.4837, allocations: 7.028 MB / 0.6052 GB, free: 20.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.4838, allocations: 90.52 kB / 0.6053 GB, free: 20.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.4851, allocations: 0.8458 MB / 0.6061 GB, free: 20.44 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002214/0.4854, allocations: 41.84 kB / 0.6062 GB, free: 20.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.4857, allocations: 451.1 kB / 0.6066 GB, free: 20.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003552/0.4861, allocations: 314.7 kB / 0.6069 GB, free: 19.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000385/0.4865, allocations: 160 kB / 0.6071 GB, free: 19.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.4866, allocations: 342.4 kB / 0.6074 GB, free: 19.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.4882, allocations: 0.6535 MB / 0.608 GB, free: 19.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/0.4899, allocations: 0.792 MB / 0.6088 GB, free: 18.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003078/0.493, allocations: 1.468 MB / 0.6102 GB, free: 18.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.493, allocations: 5.094 kB / 0.6102 GB, free: 18.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01475/0.5078, allocations: 4.257 MB / 0.6144 GB, free: 16.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.5079, allocations: 6.125 kB / 0.6144 GB, free: 16.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.5079, allocations: 3.094 kB / 0.6144 GB, free: 16.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007161/0.515, allocations: 2.159 MB / 0.6165 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000692/0.5158, allocations: 131.8 kB / 0.6166 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02117/0.5369, allocations: 9.255 MB / 0.6257 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.5389, allocations: 179 kB / 0.6259 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.539, allocations: 32 kB / 0.6259 GB, free: 5.789 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.0005287/0.5395, allocations: 227.5 kB / 0.6261 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/0.5398, allocations: 110.6 kB / 0.6262 GB, free: 5.449 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/0.5527, allocations: 4.166 MB / 0.6303 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.5527, allocations: 11.94 kB / 0.6303 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5527, allocations: 3.984 kB / 0.6303 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.5527, allocations: 3.984 kB / 0.6303 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01698/0.5697, allocations: 5.742 MB / 0.6359 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/0.5698, allocations: 0 / 0.6359 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004999/0.5703, allocations: 87.89 kB / 0.636 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007152/0.5775, allocations: 2.055 MB / 0.638 GB, free: 9.227 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001477/0.5776, allocations: 27.98 kB / 0.638 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02237/0.6, allocations: 8.147 MB / 0.646 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.6001, allocations: 0 / 0.646 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01793/0.618, allocations: 5.17 MB / 0.651 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006841/0.6187, allocations: 203.5 kB / 0.6512 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000493/0.6192, allocations: 19.94 kB / 0.6512 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001908/0.6212, allocations: 107.9 kB / 0.6513 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001221/0.6224, allocations: 232.5 kB / 0.6516 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001706/0.6226, allocations: 27.98 kB / 0.6516 GB, free: 11.11 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001395/0.624, allocations: 0.575 MB / 0.6522 GB, free: 10.52 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.624, allocations: 0 / 0.6522 GB, free: 10.52 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002416/0.6265, allocations: 419.6 kB / 0.6526 GB, free: 10.11 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.02524/0.6517, allocations: 5.754 MB / 0.6582 GB, free: 4.324 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0123/0.6641, allocations: 2.484 MB / 0.6606 GB, free: 1.801 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.6641, allocations: 0 / 0.6606 GB, free: 1.801 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008827/0.6729, allocations: 1.722 MB / 0.6623 GB, free: 48 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/0.675, allocations: 95.5 kB / 0.6624 GB, free: 15.95 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06411/0.7392, allocations: 15.99 MB / 0.678 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.7403, allocations: 1.053 MB / 0.679 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006482/0.741, allocations: 82.3 kB / 0.6791 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008763/0.7419, allocations: 399.3 kB / 0.6795 GB, free: 14.02 MB / 494.1 MB Notification: Performance of SimCode: time 5.41e-07/0.7419, allocations: 0 / 0.6795 GB, free: 14.02 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08767/0.8296, allocations: 32.53 MB / 0.7112 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002954/0.8299, allocations: 243.9 kB / 0.7115 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.826/3.656, allocations: 3.938 kB / 0.7115 GB, free: 13.4 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryReal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryReal.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.pipe 2>&1)