Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 252.7 MB, free: 8.293 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 219.5 kB / 309.2 MB, free: 3.18 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5539/0.5539, allocations: 101.3 MB / 467 MB, free: 10.34 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002596/0.002596, allocations: 92.23 kB / 0.6244 GB, free: 12.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3996, allocations: 78.6 MB / 0.7012 GB, free: 9 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource): time 0.005429/0.405, allocations: 6.396 MB / 0.7074 GB, free: 4.621 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003068/0.4081, allocations: 1.886 MB / 0.7093 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004461/0.4085, allocations: 8.844 kB / 0.7093 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004991/0.409, allocations: 247.8 kB / 0.7095 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.4102, allocations: 0.6281 MB / 0.7101 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.4115, allocations: 0.7301 MB / 0.7109 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.4128, allocations: 1.456 MB / 0.7123 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002829/0.4131, allocations: 207.1 kB / 0.7125 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005426/0.4136, allocations: 0.6 MB / 0.7131 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008216/0.4144, allocations: 0.764 MB / 0.7138 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.4146, allocations: 111.6 kB / 0.7139 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003758/0.415, allocations: 231.4 kB / 0.7141 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.4152, allocations: 296.2 kB / 0.7144 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003946/0.4156, allocations: 0.6228 MB / 0.715 GB, free: 176 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.4173, allocations: 1.541 MB / 0.7165 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4173, allocations: 0 / 0.7165 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4173, allocations: 3.5 kB / 0.7165 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.713e-05/0.4173, allocations: 0 / 0.7165 GB, free: 15.47 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.008445/0.4257, allocations: 2.545 MB / 0.719 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.4258, allocations: 8.922 kB / 0.719 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001766/0.4259, allocations: 130.1 kB / 0.7191 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004203/0.4302, allocations: 0.686 MB / 0.7198 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.4314, allocations: 0.7236 MB / 0.7205 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004495/0.4319, allocations: 453.1 kB / 0.721 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.432, allocations: 70.78 kB / 0.721 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002348/0.4343, allocations: 1.163 MB / 0.7222 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.4344, allocations: 0 / 0.7222 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.966e-05/0.4345, allocations: 35.06 kB / 0.7222 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.4345, allocations: 17.59 kB / 0.7222 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002564/0.437, allocations: 1.086 MB / 0.7233 GB, free: 12.32 MB / 0.4981 GB 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.006989/0.444, allocations: 3.834 MB / 0.727 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007721/0.4518, allocations: 1.954 MB / 0.7289 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.4533, allocations: 0.6959 MB / 0.7296 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.4535, allocations: 14.89 kB / 0.7296 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.4535, allocations: 43.69 kB / 0.7297 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=90): time 2.806e-06/0.4535, allocations: 0 / 0.7297 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=90): time 0.03476/0.4883, allocations: 8.414 MB / 0.7379 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.4883, allocations: 94.83 kB / 0.738 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.4898, allocations: 0.9136 MB / 0.7389 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001429/0.4899, allocations: 40.8 kB / 0.7389 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003957/0.4903, allocations: 471.6 kB / 0.7393 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000397/0.4907, allocations: 345.4 kB / 0.7397 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003659/0.4911, allocations: 160.2 kB / 0.7398 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4912, allocations: 342.1 kB / 0.7402 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/0.4928, allocations: 0.6581 MB / 0.7408 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/0.4945, allocations: 0.8088 MB / 0.7416 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003342/0.4979, allocations: 1.506 MB / 0.7431 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.4979, allocations: 1.094 kB / 0.7431 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01564/0.5135, allocations: 4.467 MB / 0.7474 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.5136, allocations: 8.875 kB / 0.7474 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.5136, allocations: 3.875 kB / 0.7474 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007963/0.5215, allocations: 2.301 MB / 0.7497 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007738/0.5223, allocations: 138.1 kB / 0.7498 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03025/0.5526, allocations: 11.01 MB / 0.7606 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.5543, allocations: 171.3 kB / 0.7607 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.5544, allocations: 35.98 kB / 0.7608 GB, free: 2.957 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(26,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0005291/0.5549, allocations: 234.5 kB / 0.761 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/0.5552, allocations: 119.2 kB / 0.7611 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01589/0.5711, allocations: 4.407 MB / 0.7654 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.5711, allocations: 12 kB / 0.7654 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.5711, allocations: 3.984 kB / 0.7654 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.5711, allocations: 7.984 kB / 0.7654 GB, free: 14.15 MB / 0.5294 GB 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 postOpt removeSimpleEquations (simulation): time 0.01837/0.5895, allocations: 5.99 MB / 0.7713 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.5895, allocations: 0 / 0.7713 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004388/0.5899, allocations: 83.89 kB / 0.7714 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007792/0.5977, allocations: 2.167 MB / 0.7735 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.917e-05/0.5978, allocations: 19.98 kB / 0.7735 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02702/0.6249, allocations: 9.76 MB / 0.783 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.6249, allocations: 0 / 0.783 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01887/0.6437, allocations: 5.441 MB / 0.7883 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004589/0.6442, allocations: 135.1 kB / 0.7885 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.6444, allocations: 19.94 kB / 0.7885 GB, free: 6.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.6456, allocations: 107.9 kB / 0.7886 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007187/0.6463, allocations: 236.5 kB / 0.7888 GB, free: 5.914 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.569e-05/0.6464, allocations: 23.94 kB / 0.7888 GB, free: 5.891 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009287/0.6473, allocations: 0.6308 MB / 0.7895 GB, free: 5.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.6473, allocations: 0 / 0.7895 GB, free: 5.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00135/0.6487, allocations: 439.7 kB / 0.7899 GB, free: 4.82 MB / 0.545 GB 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(26,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01864/0.6673, allocations: 5.995 MB / 0.7957 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008141/0.6755, allocations: 2.434 MB / 0.7981 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.6755, allocations: 0 / 0.7981 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006023/0.6815, allocations: 1.684 MB / 0.7997 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009828/0.6825, allocations: 92.31 kB / 0.7998 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04409/0.7266, allocations: 15.9 MB / 0.8154 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000787/0.7273, allocations: 1.069 MB / 0.8164 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004197/0.7278, allocations: 86.69 kB / 0.8165 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005818/0.7283, allocations: 415.3 kB / 0.8169 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of SimCode: time 1.743e-06/0.7284, allocations: 0 / 0.8169 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1177/0.8461, allocations: 38.56 MB / 0.8545 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.24/19.09, allocations: 6.562 kB / 0.8545 GB, free: 2.398 MB / 0.6075 GB " [Timeout remaining time 641] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.435406966134906] Failed to read output from testmodel.py, exit status != 0: 19.222456285031512 19.249606859 18.826833888 Calling exit ...