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.001181/0.001181, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 221.5 MB / 229.6 MB, free: 7.598 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009317/0.0009316, allocations: 97.94 kB / 280.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5066/0.5066, allocations: 78.94 MB / 410.2 MB, free: 6.027 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.199e-05/2.172e-05, allocations: 7.984 kB / 486 MB, free: 11.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1578, allocations: 69.51 MB / 0.5425 GB, free: 5.852 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4704/0.6283, allocations: 98.71 MB / 0.6389 GB, free: 15.3 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.6286, allocations: 71.95 kB / 0.639 GB, free: 15.23 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0696/0.6982, allocations: 24.78 MB / 0.6632 GB, free: 6.5 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.6983, allocations: 0 / 0.6632 GB, free: 6.5 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001203/0.6984, allocations: 16 kB / 0.6632 GB, free: 6.484 MB / 474.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.005341/0.7037, allocations: 1.622 MB / 0.6648 GB, free: 4.816 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.7038, allocations: 12.03 kB / 0.6648 GB, free: 4.805 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003107/0.7069, allocations: 488.5 kB / 0.6653 GB, free: 4.328 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.7086, allocations: 0.6512 MB / 0.6659 GB, free: 3.621 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004466/0.7091, allocations: 321.3 kB / 0.6662 GB, free: 3.25 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002785/0.7094, allocations: 40 kB / 0.6662 GB, free: 3.211 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001869/0.7113, allocations: 0.824 MB / 0.667 GB, free: 2.387 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.713, allocations: 0.8134 MB / 0.6678 GB, free: 1.562 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.713, allocations: 0.9375 kB / 0.6678 GB, free: 1.562 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.734e-05/0.7131, allocations: 0 / 0.6678 GB, free: 1.562 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.7131, allocations: 16 kB / 0.6678 GB, free: 1.547 MB / 474.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.006769/0.7199, allocations: 3.257 MB / 0.671 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007094/0.727, allocations: 2.498 MB / 0.6735 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009509/0.728, allocations: 0.529 MB / 0.674 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.7281, allocations: 20.75 kB / 0.674 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.7282, allocations: 47.28 kB / 0.674 GB, free: 10.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.086e-06/0.7282, allocations: 0.5625 kB / 0.674 GB, free: 10.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01364/0.7419, allocations: 4.185 MB / 0.6781 GB, free: 6.758 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/0.742, allocations: 85.89 kB / 0.6782 GB, free: 6.652 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.7433, allocations: 0.648 MB / 0.6789 GB, free: 5.984 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002513/0.7436, allocations: 25.7 kB / 0.6789 GB, free: 5.953 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003951/0.744, allocations: 468.3 kB / 0.6793 GB, free: 5.488 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005149/0.7446, allocations: 300.2 kB / 0.6796 GB, free: 5.191 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.041e-05/0.7447, allocations: 4 kB / 0.6796 GB, free: 5.188 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.7448, allocations: 333.9 kB / 0.6799 GB, free: 4.855 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007777/0.7456, allocations: 410.6 kB / 0.6803 GB, free: 4.453 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008637/0.7465, allocations: 0.5469 MB / 0.6809 GB, free: 3.859 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008011/0.7473, allocations: 444.5 kB / 0.6813 GB, free: 3.426 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.7473, allocations: 0 / 0.6813 GB, free: 3.426 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01369/0.761, allocations: 4.331 MB / 0.6855 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.7611, allocations: 8 kB / 0.6855 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.7611, allocations: 4 kB / 0.6855 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006618/0.7677, allocations: 1.908 MB / 0.6874 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006231/0.7684, allocations: 119.8 kB / 0.6875 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01826/0.7867, allocations: 7.543 MB / 0.6949 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.7883, allocations: 175.2 kB / 0.695 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/0.7885, allocations: 31.98 kB / 0.6951 GB, free: 5.164 MB / 0.4948 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 () * 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.000304/0.7888, allocations: 124.8 kB / 0.6952 GB, free: 5.035 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01319/0.802, allocations: 4.18 MB / 0.6993 GB, free: 0.8398 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005921/0.8027, allocations: 106.7 kB / 0.6994 GB, free: 0.7344 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01337/0.816, allocations: 4.283 MB / 0.7035 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/0.8161, allocations: 12 kB / 0.7036 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.8161, allocations: 0 / 0.7036 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.607e-05/0.8162, allocations: 3.984 kB / 0.7036 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01676/0.8329, allocations: 5.779 MB / 0.7092 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.833, allocations: 0 / 0.7092 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005844/0.8336, allocations: 97.11 kB / 0.7093 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006439/0.8401, allocations: 1.883 MB / 0.7111 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001932/0.8403, allocations: 7.984 kB / 0.7111 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01706/0.8574, allocations: 6.798 MB / 0.7178 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.231e-05/0.8574, allocations: 11.88 kB / 0.7178 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01524/0.8727, allocations: 5.122 MB / 0.7228 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005186/0.8732, allocations: 203.5 kB / 0.723 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003615/0.8736, allocations: 0 / 0.723 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/0.8751, allocations: 139.9 kB / 0.7231 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008069/0.8759, allocations: 228.4 kB / 0.7233 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.876, allocations: 27.98 kB / 0.7234 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008375/0.8768, allocations: 0.4965 MB / 0.7239 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8769, allocations: 0 / 0.7239 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001734/0.8786, allocations: 376.4 kB / 0.7242 GB, free: 6.977 MB / 0.5261 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 () * 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.01522/0.8938, allocations: 5.774 MB / 0.7299 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006824/0.9007, allocations: 2.135 MB / 0.7319 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.9008, allocations: 4.25 kB / 0.7319 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005737/0.9065, allocations: 1.664 MB / 0.7336 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.9078, allocations: 64.48 kB / 0.7336 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005128/0.913, allocations: 1.482 MB / 0.7351 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009007/0.9139, allocations: 1.072 MB / 0.7361 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004194/0.9144, allocations: 61.23 kB / 0.7362 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000628/0.915, allocations: 391.3 kB / 0.7366 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of SimCode: time 1.683e-06/0.915, allocations: 0 / 0.7366 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3681/1.283, allocations: 29.04 MB / 0.7649 GB, free: 149.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/1.283, allocations: 140.2 kB / 0.765 GB, free: 149.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.005/4.289, allocations: 0 / 0.765 GB, free: 149.7 MB / 0.5573 GB (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)