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.001392/0.001392, 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.328/1.328, allocations: 222.9 MB / 239.3 MB, free: 4.59 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.001341/0.001341, allocations: 196.5 kB / 289.6 MB, free: 2.305 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4926/0.4926, allocations: 91.9 MB / 431.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 79.88 kB / 0.502 GB, free: 7.676 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3458, allocations: 71.26 MB / 0.5716 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag): time 0.005049/0.3509, allocations: 6.182 MB / 0.5776 GB, free: 33.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002746/0.3537, allocations: 1.808 MB / 0.5794 GB, free: 31.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003544/0.3541, allocations: 10.47 kB / 0.5794 GB, free: 31.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004369/0.3546, allocations: 231.8 kB / 0.5796 GB, free: 31.74 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009961/0.3556, allocations: 0.5453 MB / 0.5801 GB, free: 31.37 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.3569, allocations: 0.7732 MB / 0.5809 GB, free: 30.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.358, allocations: 1.375 MB / 0.5822 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003442/0.3583, allocations: 303 kB / 0.5825 GB, free: 30.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004733/0.3588, allocations: 0.5566 MB / 0.5831 GB, free: 29.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006/0.3594, allocations: 0.7149 MB / 0.5838 GB, free: 29.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.3596, allocations: 107.6 kB / 0.5839 GB, free: 29.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003837/0.36, allocations: 220.3 kB / 0.5841 GB, free: 29.49 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.3601, allocations: 276.3 kB / 0.5843 GB, free: 29.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003851/0.3605, allocations: 0.604 MB / 0.5849 GB, free: 28.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.3616, allocations: 1.451 MB / 0.5863 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3616, allocations: 6.062 kB / 0.5863 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3616, allocations: 4 kB / 0.5863 GB, free: 28.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.3616, allocations: 0 / 0.5863 GB, free: 28.23 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.008013/0.3697, allocations: 2.54 MB / 0.5888 GB, free: 27.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3697, allocations: 9.281 kB / 0.5888 GB, free: 27.11 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.3699, allocations: 123.9 kB / 0.589 GB, free: 27.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004305/0.3742, allocations: 0.6683 MB / 0.5896 GB, free: 26.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.3753, allocations: 0.75 MB / 0.5903 GB, free: 26.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003119/0.3756, allocations: 344.9 kB / 0.5907 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.3758, allocations: 74.41 kB / 0.5907 GB, free: 26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/0.3781, allocations: 1.13 MB / 0.5918 GB, free: 25.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.3781, allocations: 4 kB / 0.5918 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-05/0.3782, allocations: 27.19 kB / 0.5919 GB, free: 25.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.3783, allocations: 20.62 kB / 0.5919 GB, free: 25.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/0.3807, allocations: 1.103 MB / 0.593 GB, free: 25.2 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.00578/0.3865, allocations: 3.388 MB / 0.5963 GB, free: 23.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007486/0.394, allocations: 2.486 MB / 0.5987 GB, free: 22.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00176/0.3958, allocations: 0.7756 MB / 0.5995 GB, free: 21.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.3959, allocations: 20.48 kB / 0.5995 GB, free: 21.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.3959, allocations: 47.34 kB / 0.5995 GB, free: 21.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.855e-06/0.396, allocations: 1 kB / 0.5995 GB, free: 21.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.03175/0.4277, allocations: 7.674 MB / 0.607 GB, free: 20.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.4278, allocations: 87.64 kB / 0.6071 GB, free: 20.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.4292, allocations: 0.8344 MB / 0.6079 GB, free: 20.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001695/0.4294, allocations: 41.45 kB / 0.608 GB, free: 20.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000277/0.4297, allocations: 460 kB / 0.6084 GB, free: 19.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003572/0.43, allocations: 315.9 kB / 0.6087 GB, free: 19.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004257/0.4305, allocations: 156.1 kB / 0.6088 GB, free: 19.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.783e-05/0.4305, allocations: 341.2 kB / 0.6092 GB, free: 19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/0.4322, allocations: 0.6726 MB / 0.6098 GB, free: 18.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/0.434, allocations: 0.8189 MB / 0.6106 GB, free: 18.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003534/0.4376, allocations: 1.499 MB / 0.6121 GB, free: 17.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.4376, allocations: 1.219 kB / 0.6121 GB, free: 17.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.01476/0.4523, allocations: 4.304 MB / 0.6163 GB, free: 15.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.4524, allocations: 8.594 kB / 0.6163 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.4524, allocations: 3.438 kB / 0.6163 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007375/0.4598, allocations: 2.166 MB / 0.6184 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006972/0.4605, allocations: 143.8 kB / 0.6186 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02426/0.4848, allocations: 10.07 MB / 0.6284 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.4867, allocations: 171 kB / 0.6286 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002264/0.4869, allocations: 31.98 kB / 0.6286 GB, free: 3.508 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.0006147/0.4875, allocations: 238.7 kB / 0.6288 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004084/0.488, allocations: 106.7 kB / 0.6289 GB, free: 3.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01732/0.5053, allocations: 4.248 MB / 0.6331 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.639e-05/0.5054, allocations: 16 kB / 0.6331 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.5054, allocations: 0 / 0.6331 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.11e-05/0.5054, allocations: 7.984 kB / 0.6331 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03086/0.5363, allocations: 5.804 MB / 0.6388 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.704e-05/0.5364, allocations: 3.984 kB / 0.6388 GB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.5375, allocations: 91.83 kB / 0.6389 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0142/0.5517, allocations: 2.063 MB / 0.6409 GB, free: 6.777 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002442/0.552, allocations: 16 kB / 0.6409 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03675/0.5887, allocations: 8.928 MB / 0.6496 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.231e-05/0.5888, allocations: 3.938 kB / 0.6496 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01799/0.6068, allocations: 5.244 MB / 0.6547 GB, free: 8.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003872/0.6072, allocations: 195.5 kB / 0.6549 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002926/0.6075, allocations: 16 kB / 0.6549 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/0.6089, allocations: 115.9 kB / 0.655 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007917/0.6097, allocations: 236.7 kB / 0.6553 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.6098, allocations: 20 kB / 0.6553 GB, free: 7.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008439/0.6107, allocations: 0.5748 MB / 0.6558 GB, free: 7.234 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6107, allocations: 0 / 0.6558 GB, free: 7.234 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001376/0.6121, allocations: 427.5 kB / 0.6562 GB, free: 6.816 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.01789/0.63, allocations: 5.816 MB / 0.6619 GB, free: 0.957 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008845/0.6388, allocations: 2.595 MB / 0.6645 GB, free: 14.33 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6389, allocations: 0 / 0.6645 GB, free: 14.33 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006377/0.6453, allocations: 1.791 MB / 0.6662 GB, free: 12.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.6467, allocations: 93.95 kB / 0.6663 GB, free: 12.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04305/0.6898, allocations: 15.68 MB / 0.6816 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008238/0.6906, allocations: 1.057 MB / 0.6826 GB, free: 11.26 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004573/0.6911, allocations: 78.23 kB / 0.6827 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006716/0.6918, allocations: 407.3 kB / 0.6831 GB, free: 10.79 MB / 494.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6918, allocations: 3.938 kB / 0.6831 GB, free: 10.78 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07067/0.7625, allocations: 35.52 MB / 0.7178 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.83, allocations: 13.17 kB / 0.7178 GB, free: 7.402 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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryRealAndImag.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.pipe 2>&1)