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.001293/0.001293, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 238.9 MB, free: 4.793 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.001619/0.001619, allocations: 196.5 kB / 289.2 MB, free: 2.539 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5532/0.5532, allocations: 91.91 MB / 431.2 MB, free: 9.461 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 75.86 kB / 0.5013 GB, free: 8.074 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4475/0.4491, allocations: 71.26 MB / 0.5709 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag): time 0.00621/0.4554, allocations: 6.543 MB / 0.5773 GB, free: 32.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003872/0.4593, allocations: 1.85 MB / 0.5791 GB, free: 31.58 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006447/0.46, allocations: 10.56 kB / 0.5791 GB, free: 31.58 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000562/0.4606, allocations: 193.5 kB / 0.5793 GB, free: 31.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.4618, allocations: 481.5 kB / 0.5798 GB, free: 31.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.4633, allocations: 0.7384 MB / 0.5805 GB, free: 30.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.4645, allocations: 1.323 MB / 0.5818 GB, free: 30.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003489/0.4648, allocations: 256.7 kB / 0.582 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004719/0.4653, allocations: 0.5155 MB / 0.5825 GB, free: 29.78 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006036/0.4659, allocations: 0.6879 MB / 0.5832 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.4661, allocations: 72.84 kB / 0.5833 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003946/0.4665, allocations: 171.7 kB / 0.5834 GB, free: 29.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.4666, allocations: 244.3 kB / 0.5837 GB, free: 29.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004111/0.4671, allocations: 0.5724 MB / 0.5842 GB, free: 28.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.4681, allocations: 1.412 MB / 0.5856 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4681, allocations: 3.375 kB / 0.5856 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4681, allocations: 0 / 0.5856 GB, free: 28.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.4682, allocations: 4 kB / 0.5856 GB, free: 28.26 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.008292/0.4765, allocations: 2.536 MB / 0.5881 GB, free: 27.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.4765, allocations: 11.59 kB / 0.5881 GB, free: 27.14 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001517/0.4767, allocations: 121 kB / 0.5882 GB, free: 27.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004139/0.4808, allocations: 0.6722 MB / 0.5889 GB, free: 26.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.4821, allocations: 0.7402 MB / 0.5896 GB, free: 26.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000365/0.4825, allocations: 354.1 kB / 0.5899 GB, free: 26.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.4826, allocations: 74.59 kB / 0.59 GB, free: 26.03 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002591/0.4852, allocations: 1.129 MB / 0.5911 GB, free: 25.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.4853, allocations: 0 / 0.5911 GB, free: 25.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.746e-05/0.4854, allocations: 30.59 kB / 0.5911 GB, free: 25.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-05/0.4854, allocations: 21.09 kB / 0.5911 GB, free: 25.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002684/0.4881, allocations: 1.1 MB / 0.5922 GB, free: 25.23 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.006441/0.4945, allocations: 3.386 MB / 0.5955 GB, free: 23.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007829/0.5024, allocations: 2.489 MB / 0.598 GB, free: 22.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/0.5043, allocations: 0.7784 MB / 0.5987 GB, free: 22.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.5044, allocations: 13.61 kB / 0.5987 GB, free: 22.01 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.5044, allocations: 43.66 kB / 0.5988 GB, free: 21.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.907e-06/0.5045, allocations: 0 / 0.5988 GB, free: 21.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.03435/0.5388, allocations: 7.67 MB / 0.6063 GB, free: 20.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.5389, allocations: 92.19 kB / 0.6063 GB, free: 20.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/0.541, allocations: 0.8378 MB / 0.6072 GB, free: 20.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003016/0.5413, allocations: 41.17 kB / 0.6072 GB, free: 20.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004359/0.5418, allocations: 459.6 kB / 0.6076 GB, free: 19.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005607/0.5424, allocations: 319.6 kB / 0.6079 GB, free: 19.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006292/0.543, allocations: 155.3 kB / 0.6081 GB, free: 19.35 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.5431, allocations: 341.8 kB / 0.6084 GB, free: 19.03 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00187/0.545, allocations: 0.6726 MB / 0.6091 GB, free: 18.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/0.547, allocations: 0.8116 MB / 0.6099 GB, free: 18.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003737/0.5507, allocations: 1.503 MB / 0.6113 GB, free: 17.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/0.5508, allocations: 1.281 kB / 0.6113 GB, free: 17.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.01542/0.5662, allocations: 4.295 MB / 0.6155 GB, free: 15.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.5663, allocations: 6.656 kB / 0.6155 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.5663, allocations: 3.719 kB / 0.6155 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007246/0.5736, allocations: 2.168 MB / 0.6177 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008015/0.5744, allocations: 139.8 kB / 0.6178 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02268/0.5971, allocations: 9.282 MB / 0.6269 GB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/0.599, allocations: 171 kB / 0.627 GB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002441/0.5993, allocations: 32 kB / 0.6271 GB, free: 4.527 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.0007602/0.6, allocations: 233.6 kB / 0.6273 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004557/0.6005, allocations: 114.6 kB / 0.6274 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/0.6138, allocations: 4.252 MB / 0.6315 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.6139, allocations: 11.94 kB / 0.6315 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.6139, allocations: 4 kB / 0.6315 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.638e-05/0.6139, allocations: 3.984 kB / 0.6316 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01819/0.6321, allocations: 5.796 MB / 0.6372 GB, free: 9.965 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.069e-05/0.6322, allocations: 4 kB / 0.6372 GB, free: 9.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006371/0.6328, allocations: 95.88 kB / 0.6373 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007409/0.6403, allocations: 2.051 MB / 0.6393 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002098/0.6405, allocations: 16 kB / 0.6393 GB, free: 7.793 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02319/0.6637, allocations: 8.135 MB / 0.6473 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.6638, allocations: 4 kB / 0.6473 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01782/0.6816, allocations: 5.251 MB / 0.6524 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006837/0.6823, allocations: 199.5 kB / 0.6526 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004803/0.6828, allocations: 23.88 kB / 0.6526 GB, free: 9.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/0.6845, allocations: 115.9 kB / 0.6527 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001003/0.6855, allocations: 228.6 kB / 0.6529 GB, free: 9.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.6856, allocations: 20 kB / 0.653 GB, free: 9.641 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001266/0.6869, allocations: 0.5748 MB / 0.6535 GB, free: 9.055 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6869, allocations: 0 / 0.6535 GB, free: 9.055 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002257/0.6892, allocations: 431.5 kB / 0.6539 GB, free: 8.633 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.01797/0.7072, allocations: 5.804 MB / 0.6596 GB, free: 2.793 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008533/0.7158, allocations: 2.526 MB / 0.6621 GB, free: 228 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.7158, allocations: 0 / 0.6621 GB, free: 228 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006303/0.7221, allocations: 1.746 MB / 0.6638 GB, free: 14.45 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.7237, allocations: 95.38 kB / 0.6639 GB, free: 14.36 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04637/0.7701, allocations: 16.04 MB / 0.6795 GB, free: 13.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009994/0.7712, allocations: 1.061 MB / 0.6806 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005015/0.7717, allocations: 74.25 kB / 0.6806 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007341/0.7724, allocations: 407.3 kB / 0.681 GB, free: 12.37 MB / 494.1 MB Notification: Performance of SimCode: time 1.212e-06/0.7725, allocations: 0 / 0.681 GB, free: 12.37 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06621/0.8387, allocations: 32.65 MB / 0.7129 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/0.8389, allocations: 249.8 kB / 0.7132 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.87/3.709, allocations: 0 / 0.7132 GB, free: 11.64 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)