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.0009288/0.0009327, allocations: 98.83 kB / 15.05 MB, free: 1.105 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.409/1.409, allocations: 223.2 MB / 238.9 MB, free: 5.488 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.001479/0.00148, allocations: 179.6 kB / 290.2 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5241/0.5241, allocations: 79.46 MB / 420.7 MB, free: 3.973 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004149/0.000415, allocations: 12 kB / 0.4891 GB, free: 5.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4495/0.4499, allocations: 69.5 MB / 0.557 GB, free: 37.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag): time 0.004824/0.4548, allocations: 5.386 MB / 0.5622 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003269/0.4581, allocations: 1.802 MB / 0.564 GB, free: 37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004744/0.4586, allocations: 10.78 kB / 0.564 GB, free: 37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004365/0.459, allocations: 165.1 kB / 0.5641 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.4602, allocations: 0.526 MB / 0.5647 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.4616, allocations: 0.6369 MB / 0.5653 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001235/0.4629, allocations: 0.9045 MB / 0.5662 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003635/0.4632, allocations: 235.3 kB / 0.5664 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005514/0.4638, allocations: 490.2 kB / 0.5669 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007697/0.4646, allocations: 0.6225 MB / 0.5675 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.4647, allocations: 59.44 kB / 0.5675 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.4651, allocations: 157.4 kB / 0.5677 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002096/0.4653, allocations: 222 kB / 0.5679 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.4655, allocations: 207.8 kB / 0.5681 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009957/0.4665, allocations: 1.044 MB / 0.5691 GB, free: 35.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4665, allocations: 0 / 0.5691 GB, free: 35.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4665, allocations: 0 / 0.5691 GB, free: 35.99 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.4666, allocations: 0 / 0.5691 GB, free: 35.99 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.007579/0.4741, allocations: 2.399 MB / 0.5714 GB, free: 35.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.4742, allocations: 10.19 kB / 0.5715 GB, free: 35.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002426/0.4745, allocations: 125.4 kB / 0.5716 GB, free: 35.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003964/0.4784, allocations: 0.6857 MB / 0.5722 GB, free: 35.03 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009847/0.4794, allocations: 0.7062 MB / 0.5729 GB, free: 34.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003002/0.4797, allocations: 358.9 kB / 0.5733 GB, free: 34.22 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.4799, allocations: 71.16 kB / 0.5733 GB, free: 34.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002254/0.4821, allocations: 1.218 MB / 0.5745 GB, free: 33.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.4822, allocations: 4 kB / 0.5745 GB, free: 33.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.855e-05/0.4823, allocations: 33.23 kB / 0.5746 GB, free: 33.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.4823, allocations: 20.19 kB / 0.5746 GB, free: 33.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/0.4846, allocations: 1.2 MB / 0.5758 GB, free: 33.38 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.005359/0.49, allocations: 3.564 MB / 0.5792 GB, free: 31.33 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007286/0.4973, allocations: 3.062 MB / 0.5822 GB, free: 30.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/0.4975, allocations: 12.64 kB / 0.5822 GB, free: 30.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.4975, allocations: 43.03 kB / 0.5823 GB, free: 30.22 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.507e-06/0.4975, allocations: 4.422 kB / 0.5823 GB, free: 30.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.03347/0.531, allocations: 9.486 MB / 0.5915 GB, free: 28.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.5311, allocations: 87.02 kB / 0.5916 GB, free: 28.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.5325, allocations: 0.8311 MB / 0.5924 GB, free: 28.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002045/0.5327, allocations: 41.45 kB / 0.5925 GB, free: 28.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.533, allocations: 457.7 kB / 0.5929 GB, free: 27.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000319/0.5333, allocations: 315.6 kB / 0.5932 GB, free: 27.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.299e-05/0.5334, allocations: 19.47 kB / 0.5932 GB, free: 27.49 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.5335, allocations: 341.5 kB / 0.5936 GB, free: 27.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/0.5352, allocations: 0.7579 MB / 0.5943 GB, free: 26.94 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001888/0.5371, allocations: 0.9048 MB / 0.5952 GB, free: 26.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/0.539, allocations: 0.8027 MB / 0.596 GB, free: 26.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.539, allocations: 1.344 kB / 0.596 GB, free: 26.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.01766/0.5567, allocations: 5.368 MB / 0.6012 GB, free: 25.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.5567, allocations: 7.5 kB / 0.6012 GB, free: 25.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.5568, allocations: 6.688 kB / 0.6012 GB, free: 25.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008553/0.5653, allocations: 2.532 MB / 0.6037 GB, free: 24.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008419/0.5662, allocations: 145.1 kB / 0.6038 GB, free: 24.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02682/0.593, allocations: 10.98 MB / 0.6146 GB, free: 17.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.595, allocations: 215.1 kB / 0.6148 GB, free: 17.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.36e-05/0.5951, allocations: 36.55 kB / 0.6148 GB, free: 17.24 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 15} Notification: Performance of prepare postOptimizeDAE: time 0.0005279/0.5956, allocations: 229.7 kB / 0.615 GB, free: 17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/0.5959, allocations: 106.7 kB / 0.6151 GB, free: 16.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01424/0.6101, allocations: 5.261 MB / 0.6203 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.6102, allocations: 13.78 kB / 0.6203 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.6102, allocations: 0 / 0.6203 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.832e-05/0.6102, allocations: 11.92 kB / 0.6203 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01603/0.6262, allocations: 6.805 MB / 0.6269 GB, free: 4.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.6263, allocations: 0 / 0.6269 GB, free: 4.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005563/0.6268, allocations: 95.89 kB / 0.627 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006935/0.6338, allocations: 2.427 MB / 0.6294 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001533/0.634, allocations: 16 kB / 0.6294 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02356/0.6576, allocations: 9.696 MB / 0.6389 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.6576, allocations: 0 / 0.6389 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01847/0.6761, allocations: 6.359 MB / 0.6451 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005258/0.6767, allocations: 195.6 kB / 0.6453 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004092/0.6771, allocations: 16.81 kB / 0.6453 GB, free: 1.672 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/0.6786, allocations: 163.9 kB / 0.6454 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008522/0.6795, allocations: 234.4 kB / 0.6457 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/0.6796, allocations: 24 kB / 0.6457 GB, free: 1.262 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009099/0.6806, allocations: 0.5631 MB / 0.6462 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6806, allocations: 0 / 0.6462 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001966/0.6825, allocations: 423.5 kB / 0.6466 GB, free: 280 kB / 446.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01897/0.7015, allocations: 6.995 MB / 0.6535 GB, free: 9.238 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009491/0.7111, allocations: 2.897 MB / 0.6563 GB, free: 6.309 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.7111, allocations: 3.938 kB / 0.6563 GB, free: 6.305 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007165/0.7183, allocations: 2.038 MB / 0.6583 GB, free: 4.234 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.7196, allocations: 76.66 kB / 0.6584 GB, free: 4.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007476/0.7271, allocations: 5.182 MB / 0.6634 GB, free: 14.88 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000719/0.7278, allocations: 1.078 MB / 0.6645 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003648/0.7282, allocations: 80.95 kB / 0.6646 GB, free: 13.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000557/0.7288, allocations: 403.3 kB / 0.6649 GB, free: 13.3 MB / 478.1 MB Notification: Performance of SimCode: time 2.274e-06/0.7288, allocations: 0 / 0.6649 GB, free: 13.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05986/0.7887, allocations: 31.33 MB / 0.6955 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/0.7889, allocations: 238.1 kB / 0.6958 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.67/3.459, allocations: 0 / 0.6958 GB, free: 14.14 MB / 0.4981 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/linux/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) Environment - environmentSimulation: