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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001751/0.001751, 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.786/1.786, allocations: 222.9 MB / 239.3 MB, free: 4.586 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.002182/0.002182, allocations: 192.5 kB / 289.6 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6643/0.6643, allocations: 92.61 MB / 432.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002876/0.002876, allocations: 87.86 kB / 0.5028 GB, free: 6.828 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6477/0.6506, allocations: 71.39 MB / 0.5725 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource): time 0.007695/0.6584, allocations: 6.325 MB / 0.5787 GB, free: 32.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004488/0.663, allocations: 1.843 MB / 0.5805 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.6641, allocations: 10.09 kB / 0.5805 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000775/0.6649, allocations: 236.4 kB / 0.5807 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.6669, allocations: 0.5749 MB / 0.5813 GB, free: 30.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.6688, allocations: 0.774 MB / 0.5821 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002231/0.671, allocations: 1.441 MB / 0.5835 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005874/0.6716, allocations: 300.6 kB / 0.5838 GB, free: 29.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.6727, allocations: 0.5767 MB / 0.5843 GB, free: 29.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009344/0.6736, allocations: 0.7586 MB / 0.5851 GB, free: 28.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002028/0.6738, allocations: 112.5 kB / 0.5852 GB, free: 28.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006475/0.6745, allocations: 220.2 kB / 0.5854 GB, free: 28.74 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002974/0.6748, allocations: 304.7 kB / 0.5857 GB, free: 28.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005265/0.6753, allocations: 0.6275 MB / 0.5863 GB, free: 28.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.6769, allocations: 1.514 MB / 0.5878 GB, free: 27.44 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.6769, allocations: 0 / 0.5878 GB, free: 27.44 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6769, allocations: 1.281 kB / 0.5878 GB, free: 27.44 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.6769, allocations: 0 / 0.5878 GB, free: 27.44 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.01022/0.6872, allocations: 2.584 MB / 0.5903 GB, free: 26.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001044/0.6873, allocations: 9.594 kB / 0.5903 GB, free: 26.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002329/0.6875, allocations: 122.1 kB / 0.5904 GB, free: 26.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00487/0.6924, allocations: 0.6729 MB / 0.5911 GB, free: 26.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.6945, allocations: 0.8018 MB / 0.5918 GB, free: 25.49 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005544/0.6951, allocations: 345.4 kB / 0.5922 GB, free: 25.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.6953, allocations: 71.81 kB / 0.5922 GB, free: 25.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/0.698, allocations: 1.154 MB / 0.5934 GB, free: 24.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/0.698, allocations: 5.062 kB / 0.5934 GB, free: 24.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.6981, allocations: 26.06 kB / 0.5934 GB, free: 24.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.965e-05/0.6982, allocations: 21.59 kB / 0.5934 GB, free: 24.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003149/0.7013, allocations: 1.072 MB / 0.5945 GB, free: 24.31 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.009672/0.711, allocations: 3.88 MB / 0.5983 GB, free: 21.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009387/0.7205, allocations: 2.49 MB / 0.6007 GB, free: 20.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002606/0.7232, allocations: 0.757 MB / 0.6014 GB, free: 20.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001547/0.7233, allocations: 19.98 kB / 0.6014 GB, free: 20.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/0.7234, allocations: 44.08 kB / 0.6015 GB, free: 20.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 4.839e-06/0.7234, allocations: 0 / 0.6015 GB, free: 20.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.04266/0.7661, allocations: 8.417 MB / 0.6097 GB, free: 19.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.908e-05/0.7663, allocations: 91.38 kB / 0.6098 GB, free: 18.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/0.7683, allocations: 0.9086 MB / 0.6107 GB, free: 18.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000389/0.7687, allocations: 41.7 kB / 0.6107 GB, free: 18.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000396/0.7691, allocations: 468.6 kB / 0.6112 GB, free: 18.01 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004426/0.7695, allocations: 321.3 kB / 0.6115 GB, free: 17.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004153/0.77, allocations: 160.3 kB / 0.6116 GB, free: 17.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.7701, allocations: 343 kB / 0.612 GB, free: 17.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/0.7718, allocations: 0.6465 MB / 0.6126 GB, free: 16.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/0.7736, allocations: 0.8089 MB / 0.6134 GB, free: 16.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003537/0.7772, allocations: 1.487 MB / 0.6148 GB, free: 15.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.7772, allocations: 1.156 kB / 0.6148 GB, free: 15.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01721/0.7944, allocations: 4.459 MB / 0.6192 GB, free: 13.37 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/0.7945, allocations: 9.875 kB / 0.6192 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.7945, allocations: 4 kB / 0.6192 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007227/0.8017, allocations: 2.245 MB / 0.6214 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007767/0.8025, allocations: 131.8 kB / 0.6215 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02666/0.8292, allocations: 10.96 MB / 0.6322 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002261/0.8316, allocations: 163 kB / 0.6324 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.8317, allocations: 35.98 kB / 0.6324 GB, free: 15.69 MB / 446.1 MB 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.000665/0.8323, allocations: 226.7 kB / 0.6326 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000312/0.8327, allocations: 114.6 kB / 0.6327 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01666/0.8493, allocations: 4.392 MB / 0.637 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.022e-05/0.8495, allocations: 8 kB / 0.637 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.8495, allocations: 7.938 kB / 0.637 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.96e-05/0.8495, allocations: 3.984 kB / 0.637 GB, free: 10.91 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.02046/0.87, allocations: 6.01 MB / 0.6429 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.6e-05/0.8701, allocations: 0 / 0.6429 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005905/0.8707, allocations: 83.91 kB / 0.643 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008221/0.8789, allocations: 2.12 MB / 0.6451 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001957/0.8791, allocations: 23.92 kB / 0.6451 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0282/0.9073, allocations: 9.712 MB / 0.6546 GB, free: 8.664 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/0.9074, allocations: 3.984 kB / 0.6546 GB, free: 8.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01931/0.9268, allocations: 5.391 MB / 0.6598 GB, free: 3.246 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008919/0.9277, allocations: 211.4 kB / 0.66 GB, free: 3.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.9279, allocations: 23.94 kB / 0.6601 GB, free: 2.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.9292, allocations: 107.9 kB / 0.6602 GB, free: 2.891 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009342/0.9302, allocations: 216.7 kB / 0.6604 GB, free: 2.676 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-05/0.9302, allocations: 27.98 kB / 0.6604 GB, free: 2.648 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001065/0.9313, allocations: 0.6308 MB / 0.661 GB, free: 2.008 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9313, allocations: 0 / 0.661 GB, free: 2.008 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00158/0.9329, allocations: 439.6 kB / 0.6614 GB, free: 1.578 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 (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.01952/0.9524, allocations: 5.959 MB / 0.6673 GB, free: 11.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009252/0.9618, allocations: 2.5 MB / 0.6697 GB, free: 9.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.9618, allocations: 4 kB / 0.6697 GB, free: 9.066 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006493/0.9683, allocations: 1.693 MB / 0.6713 GB, free: 7.359 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.9697, allocations: 100.3 kB / 0.6714 GB, free: 7.262 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0521/1.022, allocations: 16.35 MB / 0.6874 GB, free: 6.492 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/1.023, allocations: 1.069 MB / 0.6885 GB, free: 5.398 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006382/1.024, allocations: 82.7 kB / 0.6885 GB, free: 5.312 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006813/1.024, allocations: 415.3 kB / 0.6889 GB, free: 4.906 MB / 494.1 MB Notification: Performance of SimCode: time 1.272e-06/1.024, allocations: 0 / 0.6889 GB, free: 4.906 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1108/1.135, allocations: 36.84 MB / 0.7249 GB, free: 208 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/15.64, allocations: 10.61 kB / 0.7249 GB, free: 200 kB / 0.5137 GB (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 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe 2>&1)