Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.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.VoltageSourceReImInputVaryImag,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag",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.0009103/0.0009103, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.395/1.395, allocations: 223.3 MB / 239.4 MB, free: 5.391 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.001206/0.001206, allocations: 176.5 kB / 290.6 MB, free: 2.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.545/0.545, allocations: 91.92 MB / 433.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003881, allocations: 12 kB / 0.5049 GB, free: 7.168 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3396, allocations: 72.46 MB / 0.5756 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag): time 0.004233/0.3439, allocations: 6.042 MB / 0.5815 GB, free: 32.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002834/0.3468, allocations: 1.823 MB / 0.5833 GB, free: 31.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004829/0.3473, allocations: 12.91 kB / 0.5833 GB, free: 31.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004241/0.3477, allocations: 188.1 kB / 0.5835 GB, free: 31.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.3488, allocations: 486 kB / 0.584 GB, free: 30.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.3501, allocations: 0.7109 MB / 0.5847 GB, free: 30.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.3512, allocations: 1.312 MB / 0.5859 GB, free: 29.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/0.3516, allocations: 253.6 kB / 0.5862 GB, free: 29.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004558/0.352, allocations: 0.5 MB / 0.5867 GB, free: 29.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005389/0.3526, allocations: 0.6447 MB / 0.5873 GB, free: 29.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.3527, allocations: 57.03 kB / 0.5874 GB, free: 29.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003327/0.3531, allocations: 168.6 kB / 0.5875 GB, free: 29.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.3532, allocations: 225.4 kB / 0.5877 GB, free: 28.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003341/0.3535, allocations: 0.5647 MB / 0.5883 GB, free: 28.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008828/0.3544, allocations: 1.383 MB / 0.5896 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3544, allocations: 0 / 0.5896 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3545, allocations: 0 / 0.5896 GB, free: 28.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.3545, allocations: 0 / 0.5896 GB, free: 28.06 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.007811/0.3623, allocations: 2.366 MB / 0.5919 GB, free: 27.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.3623, allocations: 10.03 kB / 0.592 GB, free: 27.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002418/0.3626, allocations: 123.9 kB / 0.5921 GB, free: 26.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004351/0.367, allocations: 0.6745 MB / 0.5927 GB, free: 26.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.368, allocations: 0.7363 MB / 0.5935 GB, free: 26.31 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003151/0.3683, allocations: 362.2 kB / 0.5938 GB, free: 26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.3685, allocations: 74.34 kB / 0.5939 GB, free: 25.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.371, allocations: 1.206 MB / 0.595 GB, free: 25.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.371, allocations: 1.031 kB / 0.595 GB, free: 25.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.65e-05/0.3711, allocations: 33.69 kB / 0.5951 GB, free: 25.51 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/0.3711, allocations: 20.78 kB / 0.5951 GB, free: 25.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002594/0.3737, allocations: 1.171 MB / 0.5962 GB, free: 25.15 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.005945/0.3797, allocations: 3.448 MB / 0.5996 GB, free: 23.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008483/0.3882, allocations: 2.868 MB / 0.6024 GB, free: 22.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001986/0.3902, allocations: 0.8336 MB / 0.6032 GB, free: 22.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.3904, allocations: 16.84 kB / 0.6032 GB, free: 22.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.3904, allocations: 40.41 kB / 0.6033 GB, free: 22.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.886e-06/0.3904, allocations: 0 / 0.6033 GB, free: 22.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.03306/0.4235, allocations: 8.762 MB / 0.6118 GB, free: 20.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.4235, allocations: 87.92 kB / 0.6119 GB, free: 20.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.4248, allocations: 0.8468 MB / 0.6127 GB, free: 19.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000258/0.4251, allocations: 40.14 kB / 0.6128 GB, free: 19.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.4254, allocations: 459.2 kB / 0.6132 GB, free: 19.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003063/0.4257, allocations: 314.2 kB / 0.6135 GB, free: 19.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.4258, allocations: 83.77 kB / 0.6136 GB, free: 19.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.957e-05/0.4259, allocations: 337.4 kB / 0.6139 GB, free: 18.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001823/0.4277, allocations: 0.7416 MB / 0.6146 GB, free: 18.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.4296, allocations: 0.8841 MB / 0.6155 GB, free: 18.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003554/0.4331, allocations: 1.636 MB / 0.6171 GB, free: 17.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.4332, allocations: 1.469 kB / 0.6171 GB, free: 17.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01612/0.4493, allocations: 5.26 MB / 0.6222 GB, free: 13.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.4493, allocations: 11.94 kB / 0.6223 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.4494, allocations: 4 kB / 0.6223 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007793/0.4572, allocations: 2.525 MB / 0.6247 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007104/0.4579, allocations: 139.8 kB / 0.6249 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02485/0.4828, allocations: 10.47 MB / 0.6351 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/0.4846, allocations: 211.1 kB / 0.6353 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/0.4848, allocations: 35.98 kB / 0.6353 GB, free: 15.73 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 (79): * Single equations (assignments): 77 * 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.0005781/0.4854, allocations: 224.2 kB / 0.6355 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000336/0.4857, allocations: 114.5 kB / 0.6356 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01688/0.5026, allocations: 5.15 MB / 0.6407 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/0.5026, allocations: 11.94 kB / 0.6407 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.5027, allocations: 7.938 kB / 0.6407 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.939e-05/0.5027, allocations: 11.92 kB / 0.6407 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01938/0.5221, allocations: 6.746 MB / 0.6473 GB, free: 3.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/0.5221, allocations: 7.984 kB / 0.6473 GB, free: 3.312 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005499/0.5227, allocations: 87.83 kB / 0.6474 GB, free: 3.227 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008359/0.5311, allocations: 2.426 MB / 0.6498 GB, free: 0.793 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001883/0.5313, allocations: 19.98 kB / 0.6498 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02522/0.5565, allocations: 9.207 MB / 0.6588 GB, free: 7.426 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5566, allocations: 0 / 0.6588 GB, free: 7.426 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01924/0.5758, allocations: 6.263 MB / 0.6649 GB, free: 1.137 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004394/0.5763, allocations: 203.5 kB / 0.6651 GB, free: 0.918 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003469/0.5766, allocations: 19.94 kB / 0.6651 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/0.5781, allocations: 155.9 kB / 0.6652 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007745/0.5789, allocations: 220.6 kB / 0.6654 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.579, allocations: 27.98 kB / 0.6655 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009112/0.5799, allocations: 0.575 MB / 0.666 GB, free: 15.92 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5799, allocations: 0 / 0.666 GB, free: 15.92 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001536/0.5815, allocations: 415.6 kB / 0.6664 GB, free: 15.51 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 (52): * Single equations (assignments): 50 * 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.01931/0.6008, allocations: 6.839 MB / 0.6731 GB, free: 8.633 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009308/0.6101, allocations: 2.862 MB / 0.6759 GB, free: 5.73 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.6102, allocations: 0 / 0.6759 GB, free: 5.73 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006755/0.617, allocations: 2.004 MB / 0.6779 GB, free: 3.699 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.6183, allocations: 95.42 kB / 0.678 GB, free: 3.605 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04731/0.6656, allocations: 18.14 MB / 0.6957 GB, free: 1.074 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007285/0.6664, allocations: 1.053 MB / 0.6967 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003995/0.6668, allocations: 78.25 kB / 0.6968 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005629/0.6674, allocations: 399.3 kB / 0.6972 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.6674, allocations: 4 kB / 0.6972 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0577/0.7251, allocations: 31.96 MB / 0.7284 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/0.7254, allocations: 243.2 kB / 0.7286 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.684/3.409, allocations: 3.938 kB / 0.7286 GB, free: 15.49 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.pipe 2>&1)