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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.00124, allocations: 174 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008827/0.0008828, allocations: 100.2 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4408/0.4408, allocations: 78.91 MB / 415.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.78e-05, allocations: 4 kB / 492.9 MB, free: 13.06 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3532, allocations: 69.5 MB / 0.5492 GB, free: 19.67 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.125/0.4782, allocations: 99.38 MB / 0.6462 GB, free: 248 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.4785, allocations: 71.97 kB / 0.6463 GB, free: 176 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06902/0.5475, allocations: 25.13 MB / 0.6708 GB, free: 6.863 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5476, allocations: 4 kB / 0.6709 GB, free: 6.859 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.033e-05/0.5477, allocations: 20 kB / 0.6709 GB, free: 6.84 MB / 490.7 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.005014/0.5527, allocations: 1.613 MB / 0.6724 GB, free: 5.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.5527, allocations: 15.97 kB / 0.6725 GB, free: 5.164 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003408/0.5531, allocations: 122.5 kB / 0.6726 GB, free: 5.035 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002937/0.556, allocations: 486 kB / 0.673 GB, free: 4.559 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.5576, allocations: 0.6474 MB / 0.6737 GB, free: 3.855 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004156/0.5581, allocations: 357.3 kB / 0.674 GB, free: 3.453 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000249/0.5583, allocations: 67.95 kB / 0.6741 GB, free: 3.387 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.5602, allocations: 0.9266 MB / 0.675 GB, free: 2.445 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.5603, allocations: 3.984 kB / 0.675 GB, free: 2.441 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.5604, allocations: 32 kB / 0.675 GB, free: 2.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.5604, allocations: 16 kB / 0.675 GB, free: 2.395 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.5621, allocations: 0.8436 MB / 0.6759 GB, free: 1.551 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.3111/0.8732, allocations: 3.375 MB / 0.6792 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008212/0.8814, allocations: 2.533 MB / 0.6816 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/0.883, allocations: 0.5611 MB / 0.6822 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/0.8832, allocations: 21.5 kB / 0.6822 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.8832, allocations: 42.38 kB / 0.6822 GB, free: 104.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 4.709e-06/0.8833, allocations: 0.8438 kB / 0.6822 GB, free: 104.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01405/0.8973, allocations: 4.248 MB / 0.6864 GB, free: 104.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.8974, allocations: 97 kB / 0.6865 GB, free: 104 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000964/0.8984, allocations: 0.7082 MB / 0.6872 GB, free: 103.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.523e-05/0.8985, allocations: 37.7 kB / 0.6872 GB, free: 103.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.8987, allocations: 465.4 kB / 0.6876 GB, free: 103.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00028/0.899, allocations: 316.6 kB / 0.688 GB, free: 103.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.8991, allocations: 14.66 kB / 0.688 GB, free: 103.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.247e-05/0.8991, allocations: 332.3 kB / 0.6883 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006284/0.8998, allocations: 429.9 kB / 0.6887 GB, free: 103.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006772/0.9004, allocations: 0.5511 MB / 0.6892 GB, free: 103.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006583/0.9011, allocations: 466.8 kB / 0.6897 GB, free: 103.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.9011, allocations: 3.625 kB / 0.6897 GB, free: 103.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01226/0.9134, allocations: 4.41 MB / 0.694 GB, free: 102.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.9135, allocations: 9.156 kB / 0.694 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.9135, allocations: 3.625 kB / 0.694 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005783/0.9193, allocations: 2.014 MB / 0.696 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005361/0.9198, allocations: 113 kB / 0.6961 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01533/0.9352, allocations: 7.731 MB / 0.7036 GB, free: 98.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.9366, allocations: 198.2 kB / 0.7038 GB, free: 98.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/0.9368, allocations: 33.11 kB / 0.7038 GB, free: 98.32 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 61 * 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.0002707/0.9371, allocations: 152.7 kB / 0.704 GB, free: 98.19 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003445/0.9375, allocations: 111 kB / 0.7041 GB, free: 98.13 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/0.9491, allocations: 4.373 MB / 0.7084 GB, free: 94.82 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.9492, allocations: 12 kB / 0.7084 GB, free: 94.81 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.9492, allocations: 0 / 0.7084 GB, free: 94.81 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.9492, allocations: 3.797 kB / 0.7084 GB, free: 94.81 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/0.9636, allocations: 5.946 MB / 0.7142 GB, free: 90.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/0.9636, allocations: 0 / 0.7142 GB, free: 90.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00045/0.9641, allocations: 90.34 kB / 0.7143 GB, free: 90.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005448/0.9695, allocations: 1.91 MB / 0.7161 GB, free: 88.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.9697, allocations: 19.75 kB / 0.7162 GB, free: 88.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01415/0.9838, allocations: 6.933 MB / 0.7229 GB, free: 82.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.9839, allocations: 0 / 0.7229 GB, free: 82.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01286/0.9967, allocations: 5.198 MB / 0.728 GB, free: 77.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003952/0.9972, allocations: 207.7 kB / 0.7282 GB, free: 76.91 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/0.9974, allocations: 16 kB / 0.7282 GB, free: 76.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.9986, allocations: 151.9 kB / 0.7284 GB, free: 76.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000675/0.9993, allocations: 236.3 kB / 0.7286 GB, free: 76.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.45e-05/0.9994, allocations: 20 kB / 0.7286 GB, free: 76.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007246/1, allocations: 0.5599 MB / 0.7292 GB, free: 75.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1, allocations: 0 / 0.7292 GB, free: 75.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001319/1.001, allocations: 419 kB / 0.7296 GB, free: 75.52 MB / 490.7 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 () * 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.01295/1.014, allocations: 5.855 MB / 0.7353 GB, free: 69.63 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005701/1.02, allocations: 2.219 MB / 0.7374 GB, free: 67.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.02, allocations: 0 / 0.7374 GB, free: 67.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004656/1.025, allocations: 1.704 MB / 0.7391 GB, free: 65.66 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008664/1.026, allocations: 71.45 kB / 0.7392 GB, free: 65.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/1.029, allocations: 1.551 MB / 0.7407 GB, free: 64.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/1.03, allocations: 1.072 MB / 0.7417 GB, free: 62.92 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003008/1.03, allocations: 65.34 kB / 0.7418 GB, free: 62.85 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004301/1.031, allocations: 399.3 kB / 0.7422 GB, free: 62.46 MB / 490.7 MB Notification: Performance of SimCode: time 1.262e-06/1.031, allocations: 0 / 0.7422 GB, free: 62.46 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04823/1.079, allocations: 31.26 MB / 0.7727 GB, free: 31.67 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/1.079, allocations: 192.9 kB / 0.7729 GB, free: 31.44 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.865/3.944, allocations: 3.938 kB / 0.7729 GB, free: 31.44 MB / 490.7 MB (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)