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.0008304/0.0008311, allocations: 92 kB / 15.06 MB, free: 1.098 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.403/1.403, allocations: 223.2 MB / 239 MB, free: 5.453 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.001455/0.001455, allocations: 188.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4983/0.4983, allocations: 79.48 MB / 420.8 MB, free: 3.949 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004255/0.0004258, allocations: 15.94 kB / 0.4892 GB, free: 5.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.4539, allocations: 69.5 MB / 0.5571 GB, free: 37.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal): time 0.005942/0.4599, allocations: 5.664 MB / 0.5626 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004157/0.4641, allocations: 1.744 MB / 0.5643 GB, free: 36.87 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008024/0.465, allocations: 10.41 kB / 0.5643 GB, free: 36.87 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005308/0.4655, allocations: 170.5 kB / 0.5645 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.4669, allocations: 471.4 kB / 0.5649 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.4683, allocations: 0.6494 MB / 0.5656 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001417/0.4698, allocations: 1.241 MB / 0.5668 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003781/0.4702, allocations: 236.3 kB / 0.567 GB, free: 36.1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000552/0.4707, allocations: 485.3 kB / 0.5675 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006503/0.4714, allocations: 0.6283 MB / 0.5681 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.4715, allocations: 60.38 kB / 0.5681 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000397/0.4719, allocations: 160.1 kB / 0.5683 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.4721, allocations: 223.9 kB / 0.5685 GB, free: 35.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.4724, allocations: 212.8 kB / 0.5687 GB, free: 35.65 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009774/0.4733, allocations: 1.073 MB / 0.5698 GB, free: 35.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4734, allocations: 3.188 kB / 0.5698 GB, free: 35.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4734, allocations: 0 / 0.5698 GB, free: 35.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.4734, allocations: 0 / 0.5698 GB, free: 35.46 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.007069/0.4805, allocations: 2.38 MB / 0.5721 GB, free: 34.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.4805, allocations: 9.219 kB / 0.5721 GB, free: 34.65 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003573/0.4809, allocations: 126.6 kB / 0.5722 GB, free: 34.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004067/0.485, allocations: 0.6748 MB / 0.5729 GB, free: 34.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.4864, allocations: 0.7008 MB / 0.5736 GB, free: 34.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003324/0.4867, allocations: 355.7 kB / 0.5739 GB, free: 33.9 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.4869, allocations: 74.72 kB / 0.574 GB, free: 33.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/0.4891, allocations: 1.212 MB / 0.5752 GB, free: 33.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.4891, allocations: 0 / 0.5752 GB, free: 33.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.523e-05/0.4892, allocations: 33.89 kB / 0.5752 GB, free: 33.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.4892, allocations: 17.56 kB / 0.5752 GB, free: 33.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002215/0.4915, allocations: 1.17 MB / 0.5763 GB, free: 33.07 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.005481/0.497, allocations: 3.446 MB / 0.5797 GB, free: 31.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006442/0.5034, allocations: 2.852 MB / 0.5825 GB, free: 30.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/0.5051, allocations: 0.8339 MB / 0.5833 GB, free: 29.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.5052, allocations: 21.56 kB / 0.5833 GB, free: 29.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.5053, allocations: 44.34 kB / 0.5834 GB, free: 29.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.096e-06/0.5053, allocations: 0 / 0.5834 GB, free: 29.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02756/0.5328, allocations: 8.707 MB / 0.5919 GB, free: 28.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.5329, allocations: 91.38 kB / 0.592 GB, free: 28.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/0.5345, allocations: 0.8383 MB / 0.5928 GB, free: 27.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002756/0.5348, allocations: 40.45 kB / 0.5928 GB, free: 27.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/0.5351, allocations: 464 kB / 0.5933 GB, free: 27.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003601/0.5355, allocations: 315.6 kB / 0.5936 GB, free: 27.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.306e-05/0.5356, allocations: 14.75 kB / 0.5936 GB, free: 27.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.5357, allocations: 345.2 kB / 0.5939 GB, free: 26.94 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001682/0.5374, allocations: 0.7411 MB / 0.5946 GB, free: 26.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/0.5391, allocations: 0.874 MB / 0.5955 GB, free: 26.33 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001843/0.541, allocations: 0.78 MB / 0.5962 GB, free: 26.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.541, allocations: 2.375 kB / 0.5962 GB, free: 26.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01612/0.5571, allocations: 5.241 MB / 0.6014 GB, free: 24.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.5572, allocations: 6 kB / 0.6014 GB, free: 24.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.5572, allocations: 3.375 kB / 0.6014 GB, free: 24.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008088/0.5653, allocations: 2.535 MB / 0.6038 GB, free: 24.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007914/0.5661, allocations: 134.3 kB / 0.604 GB, free: 24.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0248/0.591, allocations: 10.47 MB / 0.6142 GB, free: 18.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.5925, allocations: 207.1 kB / 0.6144 GB, free: 17.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.82e-05/0.5926, allocations: 35.98 kB / 0.6144 GB, free: 17.78 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 15} Notification: Performance of prepare postOptimizeDAE: time 0.0004426/0.5931, allocations: 224.5 kB / 0.6146 GB, free: 17.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.5932, allocations: 110.6 kB / 0.6148 GB, free: 17.44 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/0.6053, allocations: 5.149 MB / 0.6198 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.6053, allocations: 15.95 kB / 0.6198 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6053, allocations: 0 / 0.6198 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.6054, allocations: 4.828 kB / 0.6198 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/0.6197, allocations: 6.748 MB / 0.6264 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.639e-06/0.6197, allocations: 0 / 0.6264 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004807/0.6202, allocations: 91.83 kB / 0.6265 GB, free: 5.301 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006205/0.6264, allocations: 2.427 MB / 0.6288 GB, free: 2.867 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/0.6266, allocations: 22.28 kB / 0.6289 GB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01966/0.6462, allocations: 9.185 MB / 0.6378 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6463, allocations: 0 / 0.6378 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/0.6618, allocations: 6.256 MB / 0.6439 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004861/0.6623, allocations: 203.5 kB / 0.6441 GB, free: 3.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.6625, allocations: 16 kB / 0.6442 GB, free: 3.004 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.6635, allocations: 151.9 kB / 0.6443 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007359/0.6642, allocations: 232.6 kB / 0.6445 GB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.102e-05/0.6643, allocations: 20.69 kB / 0.6445 GB, free: 2.609 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007833/0.6651, allocations: 0.5672 MB / 0.6451 GB, free: 2.031 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6651, allocations: 0 / 0.6451 GB, free: 2.031 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001407/0.6665, allocations: 423.5 kB / 0.6455 GB, free: 1.617 MB / 446.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01572/0.6822, allocations: 6.829 MB / 0.6522 GB, free: 10.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007558/0.6898, allocations: 2.856 MB / 0.655 GB, free: 7.859 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6899, allocations: 0 / 0.655 GB, free: 7.859 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005428/0.6953, allocations: 2.003 MB / 0.6569 GB, free: 5.832 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.6967, allocations: 88.52 kB / 0.657 GB, free: 5.746 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02559/0.7223, allocations: 11.21 MB / 0.668 GB, free: 10.25 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007741/0.7231, allocations: 1.054 MB / 0.669 GB, free: 9.168 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004355/0.7236, allocations: 81.41 kB / 0.6691 GB, free: 9.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006151/0.7242, allocations: 403.3 kB / 0.6694 GB, free: 8.695 MB / 478.1 MB Notification: Performance of SimCode: time 1.012e-06/0.7242, allocations: 0 / 0.6694 GB, free: 8.695 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05601/0.7802, allocations: 31.68 MB / 0.7004 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/0.7805, allocations: 223.4 kB / 0.7006 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.537/3.318, allocations: 2.25 kB / 0.7006 GB, free: 9.172 MB / 0.4981 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/linux/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) Environment - environmentSimulation: