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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001161, allocations: 108 kB / 15.6 MB, free: 132 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.404/1.404, allocations: 222.9 MB / 239.3 MB, free: 4.586 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.001336/0.001336, allocations: 188.5 kB / 289.6 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5491/0.5491, allocations: 91.9 MB / 431.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 79.88 kB / 0.502 GB, free: 7.633 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4889/0.4905, allocations: 71.26 MB / 0.5716 GB, free: 36.24 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag): time 0.006631/0.4972, allocations: 6.174 MB / 0.5776 GB, free: 32.65 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003704/0.5009, allocations: 1.808 MB / 0.5794 GB, free: 31.79 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004516/0.5014, allocations: 9.094 kB / 0.5794 GB, free: 31.79 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005567/0.502, allocations: 234.2 kB / 0.5796 GB, free: 31.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.5032, allocations: 0.5509 MB / 0.5801 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.5045, allocations: 0.7749 MB / 0.5809 GB, free: 30.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.5057, allocations: 1.38 MB / 0.5822 GB, free: 30.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004164/0.5062, allocations: 292.9 kB / 0.5825 GB, free: 30.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004826/0.5066, allocations: 0.5543 MB / 0.5831 GB, free: 29.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000647/0.5073, allocations: 0.7192 MB / 0.5838 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.5075, allocations: 105.2 kB / 0.5839 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004026/0.5079, allocations: 220.5 kB / 0.5841 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.5081, allocations: 284.5 kB / 0.5843 GB, free: 29.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000479/0.5086, allocations: 0.598 MB / 0.5849 GB, free: 28.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.51, allocations: 1.455 MB / 0.5863 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.51, allocations: 1.812 kB / 0.5863 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.51, allocations: 0 / 0.5863 GB, free: 28.15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.5101, allocations: 0 / 0.5863 GB, free: 28.15 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.008154/0.5182, allocations: 2.547 MB / 0.5888 GB, free: 27.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/0.5183, allocations: 10.28 kB / 0.5888 GB, free: 27.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001642/0.5185, allocations: 120.7 kB / 0.589 GB, free: 26.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004077/0.5226, allocations: 0.6728 MB / 0.5896 GB, free: 26.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.5237, allocations: 0.7439 MB / 0.5903 GB, free: 26.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003743/0.5241, allocations: 345.5 kB / 0.5907 GB, free: 25.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.5243, allocations: 70.81 kB / 0.5907 GB, free: 25.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/0.5268, allocations: 1.139 MB / 0.5918 GB, free: 25.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.5268, allocations: 0 / 0.5918 GB, free: 25.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.592e-05/0.5269, allocations: 26.22 kB / 0.5919 GB, free: 25.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/0.527, allocations: 21.08 kB / 0.5919 GB, free: 25.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00256/0.5295, allocations: 1.105 MB / 0.593 GB, free: 25.11 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.006062/0.5356, allocations: 3.383 MB / 0.5963 GB, free: 23.19 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007772/0.5434, allocations: 2.488 MB / 0.5987 GB, free: 22.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/0.5452, allocations: 0.7795 MB / 0.5995 GB, free: 21.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.5454, allocations: 16 kB / 0.5995 GB, free: 21.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.5454, allocations: 44.81 kB / 0.5995 GB, free: 21.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.257e-06/0.5454, allocations: 0 / 0.5995 GB, free: 21.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.03249/0.5779, allocations: 7.67 MB / 0.607 GB, free: 20.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.578, allocations: 91.52 kB / 0.6071 GB, free: 20.33 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.5795, allocations: 0.8313 MB / 0.6079 GB, free: 19.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001711/0.5797, allocations: 45.52 kB / 0.608 GB, free: 19.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/0.5801, allocations: 456.1 kB / 0.6084 GB, free: 19.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000359/0.5804, allocations: 314.9 kB / 0.6087 GB, free: 19.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003575/0.5808, allocations: 156.4 kB / 0.6088 GB, free: 19.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.5809, allocations: 342.5 kB / 0.6092 GB, free: 18.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.5826, allocations: 0.6703 MB / 0.6098 GB, free: 18.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001826/0.5845, allocations: 0.8163 MB / 0.6106 GB, free: 18.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003476/0.588, allocations: 1.506 MB / 0.6121 GB, free: 17.63 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.588, allocations: 1.062 kB / 0.6121 GB, free: 17.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.01526/0.6032, allocations: 4.303 MB / 0.6163 GB, free: 15.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/0.6033, allocations: 5.281 kB / 0.6163 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.6033, allocations: 4.031 kB / 0.6163 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007298/0.6106, allocations: 2.173 MB / 0.6184 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007854/0.6115, allocations: 139.8 kB / 0.6186 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02378/0.6353, allocations: 10.08 MB / 0.6284 GB, free: 3.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.637, allocations: 175 kB / 0.6286 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.47e-05/0.6371, allocations: 31.98 kB / 0.6286 GB, free: 3.387 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 (80): * Single equations (assignments): 78 * 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.0004621/0.6376, allocations: 234.7 kB / 0.6288 GB, free: 3.148 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002636/0.6378, allocations: 106.7 kB / 0.6289 GB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/0.6518, allocations: 4.256 MB / 0.6331 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/0.6518, allocations: 12 kB / 0.6331 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6518, allocations: 0 / 0.6331 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.428e-05/0.6519, allocations: 3.984 kB / 0.6331 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0179/0.6698, allocations: 5.8 MB / 0.6388 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-05/0.6699, allocations: 0 / 0.6388 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006113/0.6705, allocations: 99.81 kB / 0.6389 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007567/0.6781, allocations: 2.062 MB / 0.6409 GB, free: 6.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002212/0.6783, allocations: 16 kB / 0.6409 GB, free: 6.645 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02509/0.7034, allocations: 8.928 MB / 0.6496 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.7035, allocations: 3.938 kB / 0.6496 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01707/0.7206, allocations: 5.247 MB / 0.6547 GB, free: 8.289 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000579/0.7212, allocations: 195.5 kB / 0.6549 GB, free: 8.078 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003694/0.7216, allocations: 20 kB / 0.6549 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/0.723, allocations: 115.9 kB / 0.655 GB, free: 7.945 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009364/0.724, allocations: 236.7 kB / 0.6553 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/0.7241, allocations: 20 kB / 0.6553 GB, free: 7.695 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001053/0.7252, allocations: 0.5709 MB / 0.6558 GB, free: 7.113 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7252, allocations: 0 / 0.6558 GB, free: 7.113 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002101/0.7273, allocations: 427.5 kB / 0.6563 GB, free: 6.695 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 (53): * Single equations (assignments): 51 * 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.01734/0.7447, allocations: 5.822 MB / 0.6619 GB, free: 0.832 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008849/0.7535, allocations: 2.587 MB / 0.6645 GB, free: 14.21 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.7536, allocations: 0 / 0.6645 GB, free: 14.21 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00638/0.76, allocations: 1.787 MB / 0.6662 GB, free: 12.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.7614, allocations: 101.2 kB / 0.6663 GB, free: 12.29 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0443/0.8057, allocations: 15.68 MB / 0.6816 GB, free: 12.22 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.8071, allocations: 1.049 MB / 0.6826 GB, free: 11.14 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006091/0.8078, allocations: 86.22 kB / 0.6827 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008779/0.8087, allocations: 407.3 kB / 0.6831 GB, free: 10.66 MB / 494.1 MB Notification: Performance of SimCode: time 1.373e-06/0.8087, allocations: 0 / 0.6831 GB, free: 10.66 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07566/0.8844, allocations: 35.51 MB / 0.7178 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.19, allocations: 12 kB / 0.7178 GB, free: 7.281 MB / 0.5137 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/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)