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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 175.1 kB / 12.73 MB, free: 2.59 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.213/1.213, 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.0008839/0.000884, allocations: 84.31 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.444/0.444, allocations: 78.92 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.198e-05/3.213e-05, allocations: 0 / 492.9 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3455, allocations: 69.5 MB / 0.5492 GB, free: 19.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.4733, allocations: 99.36 MB / 0.6462 GB, free: 260 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.4736, allocations: 79.89 kB / 0.6463 GB, free: 180 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06664/0.5402, allocations: 25.1 MB / 0.6708 GB, free: 6.891 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5403, allocations: 0 / 0.6708 GB, free: 6.891 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.704e-05/0.5403, allocations: 16 kB / 0.6708 GB, free: 6.875 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.00435/0.5447, allocations: 1.622 MB / 0.6724 GB, free: 5.207 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.5447, allocations: 15.97 kB / 0.6724 GB, free: 5.191 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001762/0.5449, allocations: 122.5 kB / 0.6726 GB, free: 5.062 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002518/0.5474, allocations: 490 kB / 0.673 GB, free: 4.582 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.5485, allocations: 0.6474 MB / 0.6737 GB, free: 3.879 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003814/0.5489, allocations: 361.2 kB / 0.674 GB, free: 3.473 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.549, allocations: 71.95 kB / 0.6741 GB, free: 3.402 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.5506, allocations: 0.9189 MB / 0.675 GB, free: 2.469 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.5506, allocations: 4 kB / 0.675 GB, free: 2.465 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-05/0.5507, allocations: 24 kB / 0.675 GB, free: 2.441 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.5507, allocations: 16 kB / 0.675 GB, free: 2.426 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.5522, allocations: 0.8514 MB / 0.6758 GB, free: 1.574 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.304/0.8562, allocations: 3.376 MB / 0.6791 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007357/0.8636, allocations: 2.525 MB / 0.6816 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009027/0.8645, allocations: 0.561 MB / 0.6822 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.8647, allocations: 22.7 kB / 0.6822 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.8647, allocations: 46.78 kB / 0.6822 GB, free: 104.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.417e-06/0.8647, allocations: 0.6562 kB / 0.6822 GB, free: 104.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01333/0.878, allocations: 4.248 MB / 0.6864 GB, free: 104.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.8781, allocations: 89.39 kB / 0.6865 GB, free: 104.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009537/0.8791, allocations: 0.7148 MB / 0.6872 GB, free: 104 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.8792, allocations: 44.23 kB / 0.6872 GB, free: 104 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.8794, allocations: 457.4 kB / 0.6876 GB, free: 103.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/0.8797, allocations: 309.6 kB / 0.6879 GB, free: 103.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.21e-05/0.8798, allocations: 15.81 kB / 0.6879 GB, free: 103.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.657e-05/0.8799, allocations: 340.9 kB / 0.6883 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006525/0.8805, allocations: 426.4 kB / 0.6887 GB, free: 103.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007004/0.8812, allocations: 0.5506 MB / 0.6892 GB, free: 103.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006742/0.8819, allocations: 465.1 kB / 0.6897 GB, free: 103.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.8819, allocations: 3.094 kB / 0.6897 GB, free: 103.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01238/0.8943, allocations: 4.412 MB / 0.694 GB, free: 102.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.8944, allocations: 7.031 kB / 0.694 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.8944, allocations: 0 / 0.694 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005847/0.9003, allocations: 2.019 MB / 0.6959 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005332/0.9008, allocations: 112.9 kB / 0.696 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01571/0.9165, allocations: 7.737 MB / 0.7036 GB, free: 98.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.9181, allocations: 197.3 kB / 0.7038 GB, free: 98.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-05/0.9182, allocations: 37.28 kB / 0.7038 GB, free: 98.51 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.0002322/0.9184, allocations: 143.3 kB / 0.704 GB, free: 98.38 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.9186, allocations: 114.8 kB / 0.7041 GB, free: 98.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/0.9307, allocations: 4.367 MB / 0.7083 GB, free: 95.17 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.9307, allocations: 8 kB / 0.7083 GB, free: 95.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.9308, allocations: 11.39 kB / 0.7084 GB, free: 95.15 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.063e-05/0.9308, allocations: 7.078 kB / 0.7084 GB, free: 95.15 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/0.9453, allocations: 5.939 MB / 0.7142 GB, free: 90.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.9454, allocations: 0 / 0.7142 GB, free: 90.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005285/0.9459, allocations: 102.3 kB / 0.7143 GB, free: 90.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005524/0.9515, allocations: 1.909 MB / 0.7161 GB, free: 88.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001435/0.9516, allocations: 19.94 kB / 0.7161 GB, free: 88.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01377/0.9654, allocations: 6.92 MB / 0.7229 GB, free: 82.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.9655, allocations: 4 kB / 0.7229 GB, free: 82.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01311/0.9786, allocations: 5.204 MB / 0.728 GB, free: 77.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004373/0.9791, allocations: 206.8 kB / 0.7282 GB, free: 77.17 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.9792, allocations: 12 kB / 0.7282 GB, free: 77.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.9804, allocations: 151.9 kB / 0.7283 GB, free: 77.01 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006828/0.9811, allocations: 236.3 kB / 0.7286 GB, free: 76.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.838e-05/0.9811, allocations: 24 kB / 0.7286 GB, free: 76.76 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000599/0.9817, allocations: 0.556 MB / 0.7291 GB, free: 76.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9817, allocations: 0 / 0.7291 GB, free: 76.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001104/0.9829, allocations: 413.8 kB / 0.7295 GB, free: 75.79 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.01324/0.9961, allocations: 5.872 MB / 0.7353 GB, free: 69.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005729/1.002, allocations: 2.204 MB / 0.7374 GB, free: 67.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1.002, allocations: 0 / 0.7374 GB, free: 67.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004662/1.007, allocations: 1.713 MB / 0.7391 GB, free: 65.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008662/1.007, allocations: 71.44 kB / 0.7392 GB, free: 65.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/1.011, allocations: 1.543 MB / 0.7407 GB, free: 64.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/1.011, allocations: 1.084 MB / 0.7417 GB, free: 63.17 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002562/1.011, allocations: 57.36 kB / 0.7418 GB, free: 63.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003966/1.012, allocations: 403.3 kB / 0.7422 GB, free: 62.72 MB / 490.7 MB Notification: Performance of SimCode: time 1.092e-06/1.012, allocations: 0 / 0.7422 GB, free: 62.72 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04978/1.061, allocations: 31.25 MB / 0.7727 GB, free: 31.94 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/1.062, allocations: 183.3 kB / 0.7729 GB, free: 31.71 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.831/3.893, allocations: 0 / 0.7729 GB, free: 31.71 MB / 490.7 MB (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/linux/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)