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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 222.9 MB / 239.2 MB, free: 4.598 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.00214/0.00214, allocations: 187.6 kB / 289.6 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6502/0.6502, allocations: 91.89 MB / 431.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001942, allocations: 83.88 kB / 0.502 GB, free: 7.648 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5707/0.5726, allocations: 71.27 MB / 0.5716 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag): time 0.007779/0.5805, allocations: 6.125 MB / 0.5776 GB, free: 33.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00349/0.584, allocations: 1.789 MB / 0.5793 GB, free: 32.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006256/0.5847, allocations: 8.656 kB / 0.5793 GB, free: 32.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006682/0.5854, allocations: 237.1 kB / 0.5795 GB, free: 31.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.5869, allocations: 0.5493 MB / 0.5801 GB, free: 31.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.5887, allocations: 0.7706 MB / 0.5808 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001835/0.5906, allocations: 1.371 MB / 0.5822 GB, free: 30.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005497/0.5911, allocations: 288.9 kB / 0.5824 GB, free: 30.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000669/0.5918, allocations: 0.5481 MB / 0.583 GB, free: 30.1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000779/0.5926, allocations: 0.7176 MB / 0.5837 GB, free: 29.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.5928, allocations: 106.7 kB / 0.5838 GB, free: 29.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006397/0.5935, allocations: 210.1 kB / 0.584 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002983/0.5938, allocations: 286 kB / 0.5842 GB, free: 29.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005832/0.5944, allocations: 0.5904 MB / 0.5848 GB, free: 29.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.5963, allocations: 1.451 MB / 0.5862 GB, free: 28.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.5963, allocations: 0 / 0.5862 GB, free: 28.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5963, allocations: 0 / 0.5862 GB, free: 28.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.5963, allocations: 0 / 0.5862 GB, free: 28.46 MB / 430.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.009035/0.6054, allocations: 2.522 MB / 0.5887 GB, free: 27.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.6054, allocations: 10.19 kB / 0.5887 GB, free: 27.34 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001936/0.6056, allocations: 122.9 kB / 0.5888 GB, free: 27.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004239/0.6099, allocations: 0.666 MB / 0.5895 GB, free: 27.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.611, allocations: 0.7464 MB / 0.5902 GB, free: 26.58 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003389/0.6114, allocations: 341.7 kB / 0.5905 GB, free: 26.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.6115, allocations: 78.62 kB / 0.5906 GB, free: 26.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00245/0.614, allocations: 1.125 MB / 0.5917 GB, free: 25.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.614, allocations: 1.219 kB / 0.5917 GB, free: 25.81 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.787e-05/0.6141, allocations: 29.41 kB / 0.5917 GB, free: 25.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/0.6141, allocations: 16.66 kB / 0.5918 GB, free: 25.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002635/0.6168, allocations: 1.077 MB / 0.5928 GB, free: 25.44 MB / 430.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.006367/0.6232, allocations: 3.366 MB / 0.5961 GB, free: 23.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008454/0.6316, allocations: 2.288 MB / 0.5983 GB, free: 22.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002001/0.6337, allocations: 0.7491 MB / 0.5991 GB, free: 22.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.6338, allocations: 21.42 kB / 0.5991 GB, free: 22.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.6338, allocations: 43.53 kB / 0.5991 GB, free: 22.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.306e-06/0.6338, allocations: 0 / 0.5991 GB, free: 22.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.03248/0.6663, allocations: 7.013 MB / 0.606 GB, free: 21.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.6665, allocations: 92.52 kB / 0.6061 GB, free: 20.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/0.6688, allocations: 0.8498 MB / 0.6069 GB, free: 20.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003822/0.6692, allocations: 41.67 kB / 0.6069 GB, free: 20.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005205/0.6697, allocations: 462.8 kB / 0.6074 GB, free: 20.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005375/0.6703, allocations: 306.5 kB / 0.6077 GB, free: 19.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004586/0.6708, allocations: 163.9 kB / 0.6078 GB, free: 19.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.6709, allocations: 341.3 kB / 0.6081 GB, free: 19.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/0.6728, allocations: 0.6497 MB / 0.6088 GB, free: 19.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002/0.6749, allocations: 0.788 MB / 0.6095 GB, free: 18.92 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003791/0.6787, allocations: 1.472 MB / 0.611 GB, free: 18.24 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/0.6787, allocations: 1.969 kB / 0.611 GB, free: 18.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01763/0.6963, allocations: 4.259 MB / 0.6151 GB, free: 16.58 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.849e-05/0.6964, allocations: 7.188 kB / 0.6152 GB, free: 16.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/0.6965, allocations: 7.781 kB / 0.6152 GB, free: 16.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007993/0.7045, allocations: 2.163 MB / 0.6173 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008347/0.7053, allocations: 131.8 kB / 0.6174 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02511/0.7305, allocations: 10.07 MB / 0.6272 GB, free: 4.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/0.7326, allocations: 175 kB / 0.6274 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.152e-05/0.7327, allocations: 32 kB / 0.6274 GB, free: 4.715 MB / 430.1 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 () * 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.0005923/0.7333, allocations: 235.4 kB / 0.6277 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002391/0.7336, allocations: 106.7 kB / 0.6278 GB, free: 4.371 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/0.7473, allocations: 4.15 MB / 0.6318 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.073e-05/0.7474, allocations: 12 kB / 0.6318 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.7475, allocations: 4 kB / 0.6318 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.313e-05/0.7475, allocations: 7.969 kB / 0.6318 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02087/0.7684, allocations: 5.75 MB / 0.6375 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.939e-05/0.7685, allocations: 0 / 0.6375 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006039/0.7691, allocations: 87.89 kB / 0.6375 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008225/0.7773, allocations: 2.055 MB / 0.6395 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002319/0.7776, allocations: 20 kB / 0.6396 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02742/0.805, allocations: 8.935 MB / 0.6483 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.8051, allocations: 3.938 kB / 0.6483 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01819/0.8233, allocations: 5.185 MB / 0.6534 GB, free: 9.832 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007931/0.8242, allocations: 199.5 kB / 0.6535 GB, free: 9.617 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004819/0.8247, allocations: 12 kB / 0.6536 GB, free: 9.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/0.8264, allocations: 111.9 kB / 0.6537 GB, free: 9.496 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001014/0.8274, allocations: 232.6 kB / 0.6539 GB, free: 9.266 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/0.8276, allocations: 24 kB / 0.6539 GB, free: 9.242 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001249/0.8288, allocations: 0.5789 MB / 0.6545 GB, free: 8.652 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.675e-06/0.8288, allocations: 0 / 0.6545 GB, free: 8.652 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002402/0.8312, allocations: 423.5 kB / 0.6549 GB, free: 8.238 MB / 462.1 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 () * 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.01869/0.85, allocations: 5.753 MB / 0.6605 GB, free: 2.449 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008995/0.859, allocations: 2.54 MB / 0.663 GB, free: 15.88 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.8591, allocations: 0 / 0.663 GB, free: 15.88 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006485/0.8656, allocations: 1.759 MB / 0.6647 GB, free: 14.08 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/0.8674, allocations: 89.55 kB / 0.6648 GB, free: 14 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04724/0.9146, allocations: 15.64 MB / 0.6801 GB, free: 13.97 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/0.916, allocations: 1.057 MB / 0.6811 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005913/0.9166, allocations: 82.31 kB / 0.6812 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009184/0.9176, allocations: 403.3 kB / 0.6815 GB, free: 12.41 MB / 494.1 MB Notification: Performance of SimCode: time 3.667e-06/0.9176, allocations: 0 / 0.6815 GB, free: 12.41 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09613/1.014, allocations: 35.34 MB / 0.7161 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.51, allocations: 9.516 kB / 0.7161 GB, free: 9.191 MB / 0.5137 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/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)