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.001822/0.001822, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.531/1.531, allocations: 222.9 MB / 239 MB, free: 4.746 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.001592/0.001593, allocations: 196.4 kB / 289.3 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6271/0.6271, allocations: 91.91 MB / 431.3 MB, free: 9.41 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 83.86 kB / 0.5015 GB, free: 7.973 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4828/0.4846, allocations: 71.26 MB / 0.5711 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag): time 0.006893/0.4916, allocations: 6.547 MB / 0.5775 GB, free: 32.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004008/0.4956, allocations: 1.846 MB / 0.5793 GB, free: 31.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000518/0.4961, allocations: 11.53 kB / 0.5793 GB, free: 31.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006252/0.4968, allocations: 188.3 kB / 0.5795 GB, free: 31.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.4981, allocations: 478.7 kB / 0.5799 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.4997, allocations: 0.7222 MB / 0.5806 GB, free: 30.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.5013, allocations: 1.372 MB / 0.582 GB, free: 30.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004504/0.5018, allocations: 294.4 kB / 0.5823 GB, free: 30.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005277/0.5023, allocations: 0.5597 MB / 0.5828 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006952/0.503, allocations: 0.7153 MB / 0.5835 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.5032, allocations: 107 kB / 0.5836 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003835/0.5036, allocations: 217.9 kB / 0.5838 GB, free: 29.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.5038, allocations: 283.4 kB / 0.5841 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004748/0.5043, allocations: 0.6082 MB / 0.5847 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.5056, allocations: 1.455 MB / 0.5861 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.5056, allocations: 3.5 kB / 0.5861 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5056, allocations: 0 / 0.5861 GB, free: 28.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.5056, allocations: 0 / 0.5861 GB, free: 28.08 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.008628/0.5142, allocations: 2.539 MB / 0.5886 GB, free: 26.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.5143, allocations: 13.69 kB / 0.5886 GB, free: 26.95 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001696/0.5145, allocations: 126.7 kB / 0.5887 GB, free: 26.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004169/0.5187, allocations: 0.6715 MB / 0.5894 GB, free: 26.72 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.52, allocations: 0.7395 MB / 0.5901 GB, free: 26.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004486/0.5204, allocations: 346 kB / 0.5904 GB, free: 25.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.5206, allocations: 74.17 kB / 0.5905 GB, free: 25.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002539/0.5231, allocations: 1.137 MB / 0.5916 GB, free: 25.42 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.5232, allocations: 3.984 kB / 0.5916 GB, free: 25.42 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.59e-05/0.5233, allocations: 26.22 kB / 0.5916 GB, free: 25.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.5233, allocations: 20.97 kB / 0.5916 GB, free: 25.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/0.526, allocations: 1.1 MB / 0.5927 GB, free: 25.05 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.006547/0.5325, allocations: 3.394 MB / 0.596 GB, free: 23.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007853/0.5404, allocations: 2.482 MB / 0.5985 GB, free: 22.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001821/0.5422, allocations: 0.7752 MB / 0.5992 GB, free: 21.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.5424, allocations: 13.53 kB / 0.5992 GB, free: 21.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.5424, allocations: 43.95 kB / 0.5993 GB, free: 21.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.946e-06/0.5424, allocations: 0 / 0.5993 GB, free: 21.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.034/0.5764, allocations: 7.674 MB / 0.6068 GB, free: 20.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.5765, allocations: 92.23 kB / 0.6069 GB, free: 20.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.5781, allocations: 0.8296 MB / 0.6077 GB, free: 19.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002603/0.5784, allocations: 46.3 kB / 0.6077 GB, free: 19.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.5788, allocations: 460.3 kB / 0.6081 GB, free: 19.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003727/0.5791, allocations: 314.5 kB / 0.6084 GB, free: 19.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003805/0.5795, allocations: 156 kB / 0.6086 GB, free: 19.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5796, allocations: 341.5 kB / 0.6089 GB, free: 18.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/0.5814, allocations: 0.6726 MB / 0.6096 GB, free: 18.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002178/0.5836, allocations: 0.8154 MB / 0.6104 GB, free: 18.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003896/0.5875, allocations: 1.503 MB / 0.6118 GB, free: 17.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.5876, allocations: 1.188 kB / 0.6118 GB, free: 17.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.01624/0.6038, allocations: 4.296 MB / 0.616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.6039, allocations: 9.656 kB / 0.616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.6039, allocations: 8.125 kB / 0.6161 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007544/0.6115, allocations: 2.171 MB / 0.6182 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008722/0.6124, allocations: 143.8 kB / 0.6183 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02563/0.638, allocations: 10.09 MB / 0.6282 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/0.6401, allocations: 167 kB / 0.6283 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002418/0.6404, allocations: 35.98 kB / 0.6284 GB, free: 3.406 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.0007349/0.6411, allocations: 229.6 kB / 0.6286 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004918/0.6416, allocations: 106.7 kB / 0.6287 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01435/0.656, allocations: 4.256 MB / 0.6328 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.6561, allocations: 8 kB / 0.6328 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.6561, allocations: 3.984 kB / 0.6328 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.105e-05/0.6561, allocations: 7.922 kB / 0.6329 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01842/0.6745, allocations: 5.797 MB / 0.6385 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/0.6746, allocations: 4 kB / 0.6385 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005603/0.6752, allocations: 95.83 kB / 0.6386 GB, free: 8.762 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007516/0.6827, allocations: 2.063 MB / 0.6406 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/0.6829, allocations: 19.98 kB / 0.6406 GB, free: 6.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02471/0.7076, allocations: 8.924 MB / 0.6494 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.7077, allocations: 7.938 kB / 0.6494 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01801/0.7257, allocations: 5.248 MB / 0.6545 GB, free: 8.309 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007246/0.7265, allocations: 203.5 kB / 0.6547 GB, free: 8.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004998/0.727, allocations: 16 kB / 0.6547 GB, free: 8.074 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/0.7286, allocations: 111.9 kB / 0.6548 GB, free: 7.965 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009962/0.7296, allocations: 236.7 kB / 0.655 GB, free: 7.734 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/0.7298, allocations: 23.98 kB / 0.6551 GB, free: 7.711 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001178/0.731, allocations: 0.567 MB / 0.6556 GB, free: 7.133 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.731, allocations: 4 kB / 0.6556 GB, free: 7.129 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002212/0.7332, allocations: 423.5 kB / 0.656 GB, free: 6.715 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.01803/0.7513, allocations: 5.82 MB / 0.6617 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009411/0.7608, allocations: 2.595 MB / 0.6642 GB, free: 14.22 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.7608, allocations: 0 / 0.6642 GB, free: 14.22 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006451/0.7673, allocations: 1.787 MB / 0.666 GB, free: 12.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/0.7691, allocations: 91.45 kB / 0.6661 GB, free: 12.31 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04572/0.8148, allocations: 16.03 MB / 0.6817 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/0.8159, allocations: 1.057 MB / 0.6828 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005289/0.8164, allocations: 82.22 kB / 0.6828 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007312/0.8172, allocations: 411.3 kB / 0.6832 GB, free: 10.32 MB / 494.1 MB Notification: Performance of SimCode: time 1.854e-06/0.8172, allocations: 0 / 0.6832 GB, free: 10.32 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07269/0.8899, allocations: 34.11 MB / 0.7165 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/0.8902, allocations: 244.8 kB / 0.7168 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.002/3.892, allocations: 1.828 kB / 0.7168 GB, free: 8.16 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)