Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.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.VoltageSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant",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.0008354/0.0008355, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.42/1.42, allocations: 223.3 MB / 239 MB, free: 5.445 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.001315/0.001315, allocations: 188 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5325/0.5325, allocations: 79.48 MB / 420.8 MB, free: 3.891 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004055/0.0004059, allocations: 12 kB / 0.4892 GB, free: 5.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4437, allocations: 69.51 MB / 0.5571 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant): time 0.005791/0.4496, allocations: 5.6 MB / 0.5626 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004241/0.4538, allocations: 1.734 MB / 0.5643 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007197/0.4546, allocations: 10.31 kB / 0.5643 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005339/0.4551, allocations: 168.8 kB / 0.5644 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.4565, allocations: 479.3 kB / 0.5649 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.458, allocations: 0.6343 MB / 0.5655 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001396/0.4594, allocations: 1.233 MB / 0.5667 GB, free: 36.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003782/0.4598, allocations: 232.4 kB / 0.5669 GB, free: 36.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005578/0.4604, allocations: 481.5 kB / 0.5674 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006559/0.461, allocations: 0.6288 MB / 0.568 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.4611, allocations: 60.59 kB / 0.5681 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003839/0.4615, allocations: 159 kB / 0.5682 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002161/0.4618, allocations: 216.4 kB / 0.5684 GB, free: 35.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.462, allocations: 217.5 kB / 0.5686 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009782/0.463, allocations: 1.066 MB / 0.5697 GB, free: 35.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.463, allocations: 3.047 kB / 0.5697 GB, free: 35.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.463, allocations: 1.875 kB / 0.5697 GB, free: 35.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.463, allocations: 0 / 0.5697 GB, free: 35.52 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.007074/0.4701, allocations: 2.353 MB / 0.572 GB, free: 34.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.4702, allocations: 8.531 kB / 0.572 GB, free: 34.71 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002495/0.4704, allocations: 124 kB / 0.5721 GB, free: 34.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003817/0.4742, allocations: 0.6806 MB / 0.5728 GB, free: 34.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.4755, allocations: 0.6988 MB / 0.5734 GB, free: 34.24 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003314/0.4758, allocations: 358.6 kB / 0.5738 GB, free: 33.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.476, allocations: 70.2 kB / 0.5739 GB, free: 33.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.4781, allocations: 1.187 MB / 0.575 GB, free: 33.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.4781, allocations: 7.062 kB / 0.575 GB, free: 33.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.474e-05/0.4782, allocations: 33.73 kB / 0.5751 GB, free: 33.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.4782, allocations: 16.5 kB / 0.5751 GB, free: 33.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.4803, allocations: 1.128 MB / 0.5762 GB, free: 33.18 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.005521/0.4858, allocations: 3.526 MB / 0.5796 GB, free: 31.19 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/0.4967, allocations: 4.013 MB / 0.5835 GB, free: 30.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001987/0.4987, allocations: 0.793 MB / 0.5843 GB, free: 29.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.4989, allocations: 16.64 kB / 0.5843 GB, free: 29.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.4989, allocations: 45.62 kB / 0.5844 GB, free: 29.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.986e-06/0.4989, allocations: 0 / 0.5844 GB, free: 29.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.03189/0.5308, allocations: 9.471 MB / 0.5936 GB, free: 28.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.5309, allocations: 90.95 kB / 0.5937 GB, free: 28.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/0.5329, allocations: 0.8764 MB / 0.5946 GB, free: 27.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002135/0.5332, allocations: 41.61 kB / 0.5946 GB, free: 27.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004384/0.5336, allocations: 456.3 kB / 0.595 GB, free: 27.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004483/0.5341, allocations: 295 kB / 0.5953 GB, free: 27.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.5342, allocations: 20.41 kB / 0.5953 GB, free: 27.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5343, allocations: 340.3 kB / 0.5957 GB, free: 26.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001826/0.5362, allocations: 0.7108 MB / 0.5964 GB, free: 26.65 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/0.538, allocations: 0.8685 MB / 0.5972 GB, free: 26.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.5398, allocations: 0.7562 MB / 0.5979 GB, free: 25.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.5398, allocations: 1.375 kB / 0.5979 GB, free: 25.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01579/0.5556, allocations: 5.207 MB / 0.603 GB, free: 24.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.5557, allocations: 9.609 kB / 0.603 GB, free: 24.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.5557, allocations: 4.531 kB / 0.603 GB, free: 24.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008184/0.5639, allocations: 2.524 MB / 0.6055 GB, free: 24.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007538/0.5647, allocations: 127.3 kB / 0.6056 GB, free: 24.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02402/0.5887, allocations: 10.46 MB / 0.6158 GB, free: 16.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.5903, allocations: 203.8 kB / 0.616 GB, free: 16.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/0.5906, allocations: 32 kB / 0.6161 GB, free: 16.11 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (78): * Single equations (assignments): 76 * 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.0006189/0.5912, allocations: 233.6 kB / 0.6163 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003281/0.5916, allocations: 114.5 kB / 0.6164 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/0.604, allocations: 5.104 MB / 0.6214 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.604, allocations: 12 kB / 0.6214 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.604, allocations: 0 / 0.6214 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.978e-05/0.6041, allocations: 3.984 kB / 0.6214 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/0.6186, allocations: 6.538 MB / 0.6278 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.6187, allocations: 0 / 0.6278 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004152/0.6191, allocations: 75.89 kB / 0.6279 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006255/0.6254, allocations: 2.415 MB / 0.6302 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001717/0.6256, allocations: 15.98 kB / 0.6302 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02108/0.6467, allocations: 9.196 MB / 0.6392 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.6467, allocations: 0 / 0.6392 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01564/0.6623, allocations: 6.139 MB / 0.6452 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004992/0.6629, allocations: 199.5 kB / 0.6454 GB, free: 1.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003849/0.6633, allocations: 17.59 kB / 0.6454 GB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.6646, allocations: 145.5 kB / 0.6455 GB, free: 1.574 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007816/0.6654, allocations: 236.5 kB / 0.6458 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.6655, allocations: 20 kB / 0.6458 GB, free: 1.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001024/0.6665, allocations: 0.5953 MB / 0.6464 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.343e-06/0.6666, allocations: 0 / 0.6464 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001865/0.6684, allocations: 415.6 kB / 0.6468 GB, free: 316 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 (46): * Single equations (assignments): 44 * 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.0159/0.6843, allocations: 6.709 MB / 0.6533 GB, free: 9.562 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007536/0.6919, allocations: 2.78 MB / 0.656 GB, free: 6.754 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.692, allocations: 0 / 0.656 GB, free: 6.754 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005384/0.6973, allocations: 1.972 MB / 0.658 GB, free: 4.746 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.6988, allocations: 90.61 kB / 0.658 GB, free: 4.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02582/0.7246, allocations: 11.16 MB / 0.6689 GB, free: 9.211 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006975/0.7253, allocations: 1.049 MB / 0.67 GB, free: 8.133 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004007/0.7258, allocations: 79.72 kB / 0.67 GB, free: 8.055 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005818/0.7264, allocations: 403.3 kB / 0.6704 GB, free: 7.66 MB / 478.1 MB Notification: Performance of SimCode: time 7.41e-07/0.7264, allocations: 0 / 0.6704 GB, free: 7.66 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05573/0.7821, allocations: 31.48 MB / 0.7012 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/0.7823, allocations: 218.5 kB / 0.7014 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.53/3.312, allocations: 1.625 kB / 0.7014 GB, free: 8.316 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe 2>&1) Environment - environmentSimulation: