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.001002/0.001002, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.341/1.341, allocations: 223.3 MB / 239.4 MB, free: 5.523 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.00105/0.00105, allocations: 168.6 kB / 290.6 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5114/0.5114, allocations: 91.93 MB / 433.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004059, allocations: 8 kB / 0.5049 GB, free: 7.203 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3782, allocations: 72.47 MB / 0.5756 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag): time 0.004234/0.3825, allocations: 6.083 MB / 0.5816 GB, free: 32.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002386/0.3849, allocations: 1.838 MB / 0.5834 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003154/0.3852, allocations: 11.66 kB / 0.5834 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003706/0.3856, allocations: 180.2 kB / 0.5835 GB, free: 31.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009194/0.3865, allocations: 499.1 kB / 0.584 GB, free: 30.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.3877, allocations: 0.7138 MB / 0.5847 GB, free: 30.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009848/0.3887, allocations: 1.316 MB / 0.586 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003231/0.3891, allocations: 258.7 kB / 0.5863 GB, free: 29.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004295/0.3895, allocations: 0.4992 MB / 0.5867 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005663/0.3901, allocations: 0.6521 MB / 0.5874 GB, free: 29.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.3902, allocations: 68.84 kB / 0.5874 GB, free: 29.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003781/0.3906, allocations: 162.1 kB / 0.5876 GB, free: 29.26 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.3908, allocations: 231.9 kB / 0.5878 GB, free: 29.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003827/0.3912, allocations: 0.5638 MB / 0.5884 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.3923, allocations: 1.387 MB / 0.5897 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3923, allocations: 0 / 0.5897 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3923, allocations: 4 kB / 0.5897 GB, free: 28.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.989e-05/0.3923, allocations: 0 / 0.5897 GB, free: 28.21 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.008175/0.4005, allocations: 2.394 MB / 0.5921 GB, free: 27.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.4006, allocations: 8.719 kB / 0.5921 GB, free: 27.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002134/0.4008, allocations: 122.3 kB / 0.5922 GB, free: 27.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004322/0.4051, allocations: 0.681 MB / 0.5929 GB, free: 26.99 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009846/0.4061, allocations: 0.7383 MB / 0.5936 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003228/0.4065, allocations: 362.6 kB / 0.5939 GB, free: 26.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.4066, allocations: 70.31 kB / 0.594 GB, free: 26.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.4091, allocations: 1.236 MB / 0.5952 GB, free: 25.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.4091, allocations: 0 / 0.5952 GB, free: 25.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.434e-05/0.4092, allocations: 25.62 kB / 0.5952 GB, free: 25.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.4093, allocations: 18.44 kB / 0.5952 GB, free: 25.65 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/0.4119, allocations: 1.209 MB / 0.5964 GB, free: 25.29 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.005813/0.4178, allocations: 3.469 MB / 0.5998 GB, free: 23.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008532/0.4263, allocations: 3.07 MB / 0.6028 GB, free: 22.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001873/0.4282, allocations: 0.8643 MB / 0.6036 GB, free: 21.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.4283, allocations: 17.64 kB / 0.6037 GB, free: 21.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.4283, allocations: 54.88 kB / 0.6037 GB, free: 21.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.755e-06/0.4284, allocations: 0 / 0.6037 GB, free: 21.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.03725/0.4656, allocations: 9.528 MB / 0.613 GB, free: 20.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.4657, allocations: 91.08 kB / 0.6131 GB, free: 20.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.4673, allocations: 0.8316 MB / 0.6139 GB, free: 19.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002262/0.4676, allocations: 41.36 kB / 0.614 GB, free: 19.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003416/0.4679, allocations: 464.3 kB / 0.6144 GB, free: 19.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004531/0.4684, allocations: 319.6 kB / 0.6147 GB, free: 19.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.4686, allocations: 85.92 kB / 0.6148 GB, free: 19.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.847e-05/0.4688, allocations: 342.4 kB / 0.6151 GB, free: 18.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002051/0.4708, allocations: 0.7652 MB / 0.6159 GB, free: 18.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002023/0.4729, allocations: 0.9038 MB / 0.6167 GB, free: 18.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003584/0.4764, allocations: 1.689 MB / 0.6184 GB, free: 17.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.4765, allocations: 0 / 0.6184 GB, free: 17.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.01578/0.4922, allocations: 5.31 MB / 0.6236 GB, free: 11.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.4923, allocations: 10.34 kB / 0.6236 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.4923, allocations: 320 / 0.6236 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007715/0.5001, allocations: 2.54 MB / 0.6261 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007564/0.5008, allocations: 147.7 kB / 0.6262 GB, free: 9.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02464/0.5255, allocations: 10.48 MB / 0.6364 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.5273, allocations: 211.1 kB / 0.6366 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.5275, allocations: 35.98 kB / 0.6367 GB, free: 14.33 MB / 446.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.0005105/0.528, allocations: 225.7 kB / 0.6369 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/0.5282, allocations: 114.6 kB / 0.637 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0176/0.5458, allocations: 5.267 MB / 0.6422 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.5459, allocations: 11.94 kB / 0.6422 GB, free: 8.684 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.5459, allocations: 4 kB / 0.6422 GB, free: 8.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.702e-05/0.5459, allocations: 3.984 kB / 0.6422 GB, free: 8.676 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02053/0.5665, allocations: 6.816 MB / 0.6488 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.5665, allocations: 3.938 kB / 0.6488 GB, free: 1.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006082/0.5671, allocations: 99.89 kB / 0.6489 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008424/0.5756, allocations: 2.426 MB / 0.6513 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001756/0.5758, allocations: 16 kB / 0.6513 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02529/0.6011, allocations: 9.196 MB / 0.6603 GB, free: 5.859 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/0.6011, allocations: 7.969 kB / 0.6603 GB, free: 5.852 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01989/0.6211, allocations: 6.345 MB / 0.6665 GB, free: 15.47 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004612/0.6216, allocations: 199.5 kB / 0.6667 GB, free: 15.26 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003115/0.6219, allocations: 19.94 kB / 0.6667 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/0.6234, allocations: 163.9 kB / 0.6669 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008107/0.6242, allocations: 224.6 kB / 0.6671 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.6243, allocations: 27.98 kB / 0.6671 GB, free: 14.83 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00092/0.6252, allocations: 0.5709 MB / 0.6677 GB, free: 14.25 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.6253, allocations: 4 kB / 0.6677 GB, free: 14.25 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00157/0.6268, allocations: 423.5 kB / 0.6681 GB, free: 13.83 MB / 478.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.02012/0.647, allocations: 6.921 MB / 0.6748 GB, free: 6.875 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009396/0.6564, allocations: 2.909 MB / 0.6777 GB, free: 3.926 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.6564, allocations: 0 / 0.6777 GB, free: 3.926 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007067/0.6635, allocations: 2.039 MB / 0.6797 GB, free: 1.855 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.6649, allocations: 95.38 kB / 0.6797 GB, free: 1.762 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04903/0.7139, allocations: 18.21 MB / 0.6975 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009766/0.7149, allocations: 1.061 MB / 0.6986 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005709/0.7155, allocations: 78.23 kB / 0.6986 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000825/0.7164, allocations: 403.3 kB / 0.699 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of SimCode: time 1.233e-06/0.7164, allocations: 0 / 0.699 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06893/0.7853, allocations: 32.07 MB / 0.7303 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/0.7856, allocations: 253.1 kB / 0.7306 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.762/3.548, allocations: 4 kB / 0.7306 GB, free: 13.46 MB / 0.5294 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)