Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.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.VoltageSourceReImInputVaryRealAndImag,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryRealAndImag",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryRealAndImag",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.001061/0.001061, allocations: 180.2 kB / 7.65 MB, free: 1.418 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.382/1.382, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0009035/0.0009035, allocations: 101.1 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5007/0.5007, allocations: 78.94 MB / 410.2 MB, free: 6 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.775e-05/1.778e-05, allocations: 0 / 486 MB, free: 11.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1496, allocations: 69.51 MB / 0.5425 GB, free: 5.844 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4439/0.5935, allocations: 98.81 MB / 0.639 GB, free: 15.19 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.5938, allocations: 69.53 kB / 0.6391 GB, free: 15.12 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07065/0.6645, allocations: 25.04 MB / 0.6635 GB, free: 6.141 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.6645, allocations: 0 / 0.6635 GB, free: 6.141 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001099/0.6647, allocations: 20 kB / 0.6635 GB, free: 6.121 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.005291/0.67, allocations: 1.646 MB / 0.6652 GB, free: 4.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.67, allocations: 8.031 kB / 0.6652 GB, free: 4.422 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003057/0.6731, allocations: 489.9 kB / 0.6656 GB, free: 3.941 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.6747, allocations: 0.6443 MB / 0.6663 GB, free: 3.242 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004212/0.6752, allocations: 329.3 kB / 0.6666 GB, free: 2.863 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002844/0.6755, allocations: 40 kB / 0.6666 GB, free: 2.824 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001885/0.6774, allocations: 0.8201 MB / 0.6674 GB, free: 2.004 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.6792, allocations: 0.8173 MB / 0.6682 GB, free: 1.176 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.6792, allocations: 6.484 kB / 0.6682 GB, free: 1.172 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-05/0.6793, allocations: 0.8438 kB / 0.6682 GB, free: 1.172 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.6793, allocations: 20 kB / 0.6682 GB, free: 1.152 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.006937/0.6863, allocations: 3.281 MB / 0.6714 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007033/0.6933, allocations: 2.69 MB / 0.6741 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.6944, allocations: 0.5439 MB / 0.6746 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/0.6946, allocations: 12.78 kB / 0.6746 GB, free: 10.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.6947, allocations: 43.34 kB / 0.6746 GB, free: 10.31 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 3.146e-06/0.6947, allocations: 0 / 0.6746 GB, free: 10.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.01355/0.7082, allocations: 4.204 MB / 0.6788 GB, free: 6.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.7083, allocations: 86.64 kB / 0.6788 GB, free: 5.984 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.7097, allocations: 0.6563 MB / 0.6795 GB, free: 5.309 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002723/0.71, allocations: 25.7 kB / 0.6795 GB, free: 5.277 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003979/0.7104, allocations: 468.5 kB / 0.6799 GB, free: 4.812 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005718/0.711, allocations: 299.4 kB / 0.6802 GB, free: 4.516 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.797e-05/0.7111, allocations: 3.938 kB / 0.6802 GB, free: 4.512 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.7113, allocations: 345.9 kB / 0.6806 GB, free: 4.168 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008211/0.7121, allocations: 418.6 kB / 0.681 GB, free: 3.758 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008651/0.713, allocations: 0.5397 MB / 0.6815 GB, free: 3.172 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008235/0.7138, allocations: 456.4 kB / 0.6819 GB, free: 2.727 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/0.7138, allocations: 4 kB / 0.6819 GB, free: 2.723 MB / 490.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.0138/0.7276, allocations: 4.286 MB / 0.6861 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.7277, allocations: 8 kB / 0.6861 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.7277, allocations: 3.938 kB / 0.6861 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006728/0.7345, allocations: 1.921 MB / 0.688 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006722/0.7352, allocations: 119.8 kB / 0.6881 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01855/0.7538, allocations: 7.526 MB / 0.6955 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.7556, allocations: 191.2 kB / 0.6957 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002543/0.7559, allocations: 31.98 kB / 0.6957 GB, free: 4.492 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 (64): * Single equations (assignments): 62 * 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.0003583/0.7562, allocations: 122.3 kB / 0.6958 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01352/0.7698, allocations: 4.202 MB / 0.6999 GB, free: 156 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006574/0.7705, allocations: 106.7 kB / 0.7 GB, free: 48 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/0.7843, allocations: 4.307 MB / 0.7042 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.784e-05/0.7844, allocations: 11.95 kB / 0.7042 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.7844, allocations: 3.984 kB / 0.7042 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.91e-05/0.7844, allocations: 7.984 kB / 0.7042 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/0.8007, allocations: 5.799 MB / 0.7099 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.371e-05/0.8008, allocations: 3.953 kB / 0.7099 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006453/0.8014, allocations: 95.89 kB / 0.71 GB, free: 5.695 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00632/0.8077, allocations: 1.891 MB / 0.7118 GB, free: 3.797 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002314/0.808, allocations: 11.98 kB / 0.7119 GB, free: 3.785 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01651/0.8245, allocations: 6.789 MB / 0.7185 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.8246, allocations: 0 / 0.7185 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01566/0.8403, allocations: 5.181 MB / 0.7235 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005699/0.8409, allocations: 203.5 kB / 0.7237 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/0.8411, allocations: 0 / 0.7237 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.8424, allocations: 143.9 kB / 0.7239 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007594/0.8431, allocations: 240.3 kB / 0.7241 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.375e-05/0.8432, allocations: 24 kB / 0.7241 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007347/0.8439, allocations: 0.5018 MB / 0.7246 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.844, allocations: 4 kB / 0.7246 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001551/0.8455, allocations: 383.5 kB / 0.725 GB, free: 6.16 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 (53): * Single equations (assignments): 51 * 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.0158/0.8613, allocations: 5.825 MB / 0.7307 GB, free: 304 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006539/0.8679, allocations: 2.161 MB / 0.7328 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.868, allocations: 0 / 0.7328 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005477/0.8735, allocations: 1.686 MB / 0.7344 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.8746, allocations: 59.39 kB / 0.7345 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003793/0.8784, allocations: 1.498 MB / 0.7359 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007693/0.8792, allocations: 1.076 MB / 0.737 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003024/0.8795, allocations: 65.23 kB / 0.7371 GB, free: 9.617 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005312/0.88, allocations: 391.3 kB / 0.7374 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of SimCode: time 3.236e-06/0.88, allocations: 0 / 0.7374 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.364/1.244, allocations: 29.32 MB / 0.7661 GB, free: 150.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/1.244, allocations: 146.7 kB / 0.7662 GB, free: 150.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.087/4.331, allocations: 0.9844 kB / 0.7662 GB, free: 150.4 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryRealAndImag_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryRealAndImag.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.pipe 2>&1)