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.006421/0.006421, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.294/1.294, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001321/0.001321, allocations: 188.5 kB / 289.7 MB, free: 2.258 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.91 MB / 431.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 81.56 kB / 0.5723 GB, free: 34.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1387, allocations: 71.28 MB / 0.6419 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal): time 0.006006/0.1447, allocations: 6.142 MB / 0.6479 GB, free: 14.01 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003368/0.1481, allocations: 1.782 MB / 0.6496 GB, free: 12.22 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004752/0.1486, allocations: 12 kB / 0.6496 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000546/0.1492, allocations: 238.1 kB / 0.6498 GB, free: 11.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.1505, allocations: 0.597 MB / 0.6504 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.152, allocations: 0.7647 MB / 0.6512 GB, free: 10.62 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.1532, allocations: 1.376 MB / 0.6525 GB, free: 9.238 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003865/0.1536, allocations: 294.2 kB / 0.6528 GB, free: 8.941 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004914/0.1541, allocations: 0.5484 MB / 0.6533 GB, free: 8.391 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006863/0.1548, allocations: 0.7117 MB / 0.654 GB, free: 7.676 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.155, allocations: 108 kB / 0.6541 GB, free: 7.57 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003477/0.1553, allocations: 215.9 kB / 0.6543 GB, free: 7.359 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.1556, allocations: 278.9 kB / 0.6546 GB, free: 7.086 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004456/0.156, allocations: 0.602 MB / 0.6552 GB, free: 6.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.1572, allocations: 1.453 MB / 0.6566 GB, free: 5.023 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1573, allocations: 4 kB / 0.6566 GB, free: 5.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1573, allocations: 0 / 0.6566 GB, free: 5.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.1573, allocations: 0 / 0.6566 GB, free: 5.02 MB / 462.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.007415/0.1647, allocations: 2.516 MB / 0.6591 GB, free: 2.449 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1648, allocations: 12.03 kB / 0.6591 GB, free: 2.438 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.1649, allocations: 126.5 kB / 0.6592 GB, free: 2.305 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003936/0.1689, allocations: 0.6735 MB / 0.6599 GB, free: 1.629 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.1701, allocations: 0.7478 MB / 0.6606 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003446/0.1705, allocations: 345.2 kB / 0.6609 GB, free: 444 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.1706, allocations: 71.94 kB / 0.661 GB, free: 372 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/0.1728, allocations: 1.125 MB / 0.6621 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.1729, allocations: 0 / 0.6621 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.749e-05/0.173, allocations: 28 kB / 0.6621 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.173, allocations: 16 kB / 0.6621 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002462/0.1754, allocations: 1.085 MB / 0.6632 GB, free: 14.09 MB / 478.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.005933/0.1814, allocations: 3.348 MB / 0.6664 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006693/0.1881, allocations: 2.287 MB / 0.6687 GB, free: 8.211 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/0.1897, allocations: 0.7507 MB / 0.6694 GB, free: 7.453 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/0.1899, allocations: 9 kB / 0.6694 GB, free: 7.445 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.1899, allocations: 43.56 kB / 0.6695 GB, free: 7.391 MB / 478.1 MB Notification: Performance of pre-optimization done (n=89): time 2.736e-06/0.1899, allocations: 0 / 0.6695 GB, free: 7.391 MB / 478.1 MB Notification: Performance of matching and sorting (n=89): time 0.02539/0.2153, allocations: 7.034 MB / 0.6763 GB, free: 308 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.2154, allocations: 86.11 kB / 0.6764 GB, free: 204 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.2166, allocations: 0.8371 MB / 0.6772 GB, free: 15.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001895/0.2168, allocations: 45.7 kB / 0.6773 GB, free: 15.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003249/0.2172, allocations: 460.5 kB / 0.6777 GB, free: 14.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003888/0.2176, allocations: 315.4 kB / 0.678 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003805/0.218, allocations: 158.6 kB / 0.6782 GB, free: 14.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.2181, allocations: 341.9 kB / 0.6785 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.2195, allocations: 0.65 MB / 0.6791 GB, free: 13.37 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.2211, allocations: 0.7963 MB / 0.6799 GB, free: 12.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002968/0.224, allocations: 1.465 MB / 0.6813 GB, free: 11.01 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.85e-06/0.2241, allocations: 0 / 0.6813 GB, free: 11.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01335/0.2374, allocations: 4.267 MB / 0.6855 GB, free: 6.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.2375, allocations: 4.938 kB / 0.6855 GB, free: 6.727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.2375, allocations: 4 kB / 0.6855 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006988/0.2445, allocations: 2.154 MB / 0.6876 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006872/0.2452, allocations: 131.8 kB / 0.6877 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02469/0.2699, allocations: 10.06 MB / 0.6976 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.2714, allocations: 167 kB / 0.6977 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/0.2716, allocations: 31.98 kB / 0.6978 GB, free: 10.02 MB / 0.4981 GB 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.0004862/0.2721, allocations: 233.6 kB / 0.698 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003026/0.2724, allocations: 114.6 kB / 0.6981 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/0.2853, allocations: 4.154 MB / 0.7021 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.152e-05/0.2854, allocations: 12 kB / 0.7022 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.2854, allocations: 0 / 0.7022 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.439e-05/0.2855, allocations: 7.984 kB / 0.7022 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01576/0.3012, allocations: 5.751 MB / 0.7078 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/0.3013, allocations: 4 kB / 0.7078 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005161/0.3018, allocations: 91.83 kB / 0.7079 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006624/0.3084, allocations: 2.043 MB / 0.7099 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001639/0.3086, allocations: 19.98 kB / 0.7099 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02135/0.33, allocations: 8.928 MB / 0.7186 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.33, allocations: 7.938 kB / 0.7186 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01525/0.3453, allocations: 5.171 MB / 0.7237 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004549/0.3458, allocations: 211.5 kB / 0.7239 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003003/0.3461, allocations: 16 kB / 0.7239 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.3473, allocations: 107.9 kB / 0.724 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007879/0.3481, allocations: 228.7 kB / 0.7242 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.3482, allocations: 27.98 kB / 0.7242 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008255/0.3491, allocations: 0.575 MB / 0.7248 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3491, allocations: 4 kB / 0.7248 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001567/0.3507, allocations: 419.5 kB / 0.7252 GB, free: 13.56 MB / 0.5294 GB 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.01532/0.366, allocations: 5.761 MB / 0.7308 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007098/0.3731, allocations: 2.516 MB / 0.7333 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.3731, allocations: 0 / 0.7333 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005127/0.3783, allocations: 1.752 MB / 0.735 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009651/0.3793, allocations: 88.91 kB / 0.7351 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03653/0.4158, allocations: 15.12 MB / 0.7498 GB, free: 3.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007442/0.4166, allocations: 1.053 MB / 0.7509 GB, free: 2.902 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003309/0.417, allocations: 78.31 kB / 0.7509 GB, free: 2.824 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005469/0.4175, allocations: 411.2 kB / 0.7513 GB, free: 2.422 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/0.4175, allocations: 0 / 0.7513 GB, free: 2.422 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3385/0.756, allocations: 35.69 MB / 0.7862 GB, free: 117 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/16.45, allocations: 26.62 kB / 0.7862 GB, free: 117 MB / 0.5606 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)