Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.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.VSourceIO,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO",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.001864/0.001864, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.535/1.535, allocations: 222.9 MB / 239 MB, free: 4.664 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.002061/0.002061, allocations: 192.5 kB / 289.3 MB, free: 2.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5771/0.5771, allocations: 92.61 MB / 432 MB, free: 8.727 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002706/0.002706, allocations: 79.88 kB / 0.5023 GB, free: 7.152 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4248, allocations: 71.39 MB / 0.572 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO): time 0.005876/0.4307, allocations: 6.976 MB / 0.5789 GB, free: 32.28 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003673/0.4344, allocations: 2.006 MB / 0.5808 GB, free: 30.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006345/0.435, allocations: 11.38 kB / 0.5808 GB, free: 30.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005593/0.4356, allocations: 191.7 kB / 0.581 GB, free: 30.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.4369, allocations: 0.5105 MB / 0.5815 GB, free: 30.44 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.4383, allocations: 0.7319 MB / 0.5822 GB, free: 30.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001307/0.4396, allocations: 1.505 MB / 0.5837 GB, free: 29.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003827/0.44, allocations: 300.1 kB / 0.584 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005114/0.4406, allocations: 0.6058 MB / 0.5846 GB, free: 28.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006363/0.4412, allocations: 0.7878 MB / 0.5853 GB, free: 28.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.4414, allocations: 121.8 kB / 0.5855 GB, free: 28.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003773/0.4417, allocations: 232.1 kB / 0.5857 GB, free: 28.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.4419, allocations: 305.6 kB / 0.586 GB, free: 28.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004232/0.4424, allocations: 0.6506 MB / 0.5866 GB, free: 27.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.4437, allocations: 1.584 MB / 0.5881 GB, free: 27.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4437, allocations: 0 / 0.5881 GB, free: 27.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.4437, allocations: 0 / 0.5881 GB, free: 27.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.4437, allocations: 1.344 kB / 0.5881 GB, free: 27.08 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00843/0.4522, allocations: 2.632 MB / 0.5907 GB, free: 25.92 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.4522, allocations: 9.344 kB / 0.5907 GB, free: 25.92 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001614/0.4524, allocations: 128.9 kB / 0.5908 GB, free: 25.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004122/0.4565, allocations: 0.6863 MB / 0.5915 GB, free: 25.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.4578, allocations: 0.8071 MB / 0.5923 GB, free: 25.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003235/0.4582, allocations: 348.6 kB / 0.5926 GB, free: 24.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.4583, allocations: 74.31 kB / 0.5927 GB, free: 24.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/0.4607, allocations: 1.19 MB / 0.5939 GB, free: 24.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.4608, allocations: 1.25 kB / 0.5939 GB, free: 24.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-05/0.4609, allocations: 34.42 kB / 0.5939 GB, free: 24.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.4609, allocations: 17.44 kB / 0.5939 GB, free: 24.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002497/0.4634, allocations: 1.152 MB / 0.595 GB, free: 23.92 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.006935/0.4703, allocations: 3.823 MB / 0.5988 GB, free: 21.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00777/0.4781, allocations: 2.568 MB / 0.6013 GB, free: 20.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002101/0.4803, allocations: 0.8209 MB / 0.6021 GB, free: 20.28 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/0.4804, allocations: 17.66 kB / 0.6021 GB, free: 20.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.4805, allocations: 49.41 kB / 0.6022 GB, free: 20.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 2.876e-06/0.4805, allocations: 0 / 0.6022 GB, free: 20.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.03786/0.5183, allocations: 8.863 MB / 0.6108 GB, free: 18.4 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.5185, allocations: 88.14 kB / 0.6109 GB, free: 18.31 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.5201, allocations: 0.908 MB / 0.6118 GB, free: 17.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003027/0.5204, allocations: 45.86 kB / 0.6118 GB, free: 17.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.5207, allocations: 476.1 kB / 0.6123 GB, free: 17.33 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000377/0.5211, allocations: 350.2 kB / 0.6126 GB, free: 17.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003821/0.5214, allocations: 176.1 kB / 0.6128 GB, free: 16.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.176e-05/0.5215, allocations: 347.1 kB / 0.6131 GB, free: 16.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.5232, allocations: 0.6928 MB / 0.6138 GB, free: 16.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/0.5249, allocations: 0.8417 MB / 0.6146 GB, free: 15.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00333/0.5282, allocations: 1.566 MB / 0.6161 GB, free: 14.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.679e-06/0.5282, allocations: 5.203 kB / 0.6161 GB, free: 14.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01548/0.5437, allocations: 4.535 MB / 0.6206 GB, free: 11.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/0.5438, allocations: 8 kB / 0.6206 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.5438, allocations: 4 kB / 0.6206 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006913/0.5507, allocations: 2.241 MB / 0.6228 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008427/0.5516, allocations: 163.7 kB / 0.6229 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02517/0.5768, allocations: 10.94 MB / 0.6336 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/0.5788, allocations: 171.1 kB / 0.6338 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.5789, allocations: 39.98 kB / 0.6338 GB, free: 13.89 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 (87): * Single equations (assignments): 86 * 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.0005986/0.5795, allocations: 237.6 kB / 0.634 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002856/0.5798, allocations: 118.5 kB / 0.6342 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01573/0.5955, allocations: 4.462 MB / 0.6385 GB, free: 9.062 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/0.5956, allocations: 12 kB / 0.6385 GB, free: 9.051 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5956, allocations: 0 / 0.6385 GB, free: 9.051 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.225e-05/0.5956, allocations: 3.984 kB / 0.6385 GB, free: 9.047 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.01913/0.6148, allocations: 6.135 MB / 0.6445 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.967e-05/0.6148, allocations: 0 / 0.6445 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007292/0.6156, allocations: 119.8 kB / 0.6446 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008156/0.6238, allocations: 2.12 MB / 0.6467 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002553/0.624, allocations: 20 kB / 0.6467 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02846/0.6525, allocations: 9.701 MB / 0.6562 GB, free: 6.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.6526, allocations: 4 kB / 0.6562 GB, free: 6.656 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01927/0.6719, allocations: 5.563 MB / 0.6616 GB, free: 1.066 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006918/0.6726, allocations: 215.4 kB / 0.6618 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004745/0.6731, allocations: 16 kB / 0.6619 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/0.6748, allocations: 123.8 kB / 0.662 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001002/0.6758, allocations: 236.6 kB / 0.6622 GB, free: 480 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001639/0.676, allocations: 27.98 kB / 0.6622 GB, free: 452 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001345/0.6773, allocations: 0.6271 MB / 0.6628 GB, free: 15.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6773, allocations: 0 / 0.6628 GB, free: 15.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002242/0.6796, allocations: 455.5 kB / 0.6633 GB, free: 15.36 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 (62): * Single equations (assignments): 61 * 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.01931/0.6989, allocations: 6.139 MB / 0.6693 GB, free: 9.184 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009384/0.7083, allocations: 2.618 MB / 0.6718 GB, free: 6.551 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.7084, allocations: 0 / 0.6718 GB, free: 6.551 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006505/0.7149, allocations: 1.767 MB / 0.6735 GB, free: 4.77 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/0.7167, allocations: 104.3 kB / 0.6736 GB, free: 4.664 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05056/0.7672, allocations: 17.04 MB / 0.6903 GB, free: 3.191 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/0.7684, allocations: 1.085 MB / 0.6913 GB, free: 2.078 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005514/0.769, allocations: 94.95 kB / 0.6914 GB, free: 1.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008133/0.7698, allocations: 439.3 kB / 0.6919 GB, free: 1.555 MB / 494.1 MB Notification: Performance of SimCode: time 9.72e-07/0.7698, allocations: 4 kB / 0.6919 GB, free: 1.551 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08181/0.8516, allocations: 36.58 MB / 0.7276 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004496/0.8522, allocations: 243.2 kB / 0.7278 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.13/3.982, allocations: 0 / 0.7278 GB, free: 12.91 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe 2>&1)