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.00178/0.00178, allocations: 108 kB / 15.6 MB, free: 132 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.899/1.899, allocations: 222.9 MB / 239.2 MB, free: 4.648 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.002239/0.002239, allocations: 199.9 kB / 289.6 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6809/0.6809, allocations: 92.62 MB / 432.3 MB, free: 8.602 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0036/0.0036, allocations: 79.88 kB / 0.5028 GB, free: 6.824 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5909/0.5946, allocations: 71.38 MB / 0.5725 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO): time 0.01046/0.6051, allocations: 6.586 MB / 0.579 GB, free: 32.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006317/0.6116, allocations: 1.958 MB / 0.5809 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.6129, allocations: 8.531 kB / 0.5809 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006509/0.6135, allocations: 252.2 kB / 0.5811 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001838/0.6155, allocations: 0.5848 MB / 0.5817 GB, free: 30.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002398/0.6179, allocations: 0.7995 MB / 0.5825 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00265/0.6205, allocations: 1.498 MB / 0.5839 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006601/0.6212, allocations: 301.6 kB / 0.5842 GB, free: 29.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009596/0.6222, allocations: 0.6039 MB / 0.5848 GB, free: 28.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.6232, allocations: 0.7893 MB / 0.5856 GB, free: 28.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002329/0.6235, allocations: 120.2 kB / 0.5857 GB, free: 28.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000668/0.6242, allocations: 230 kB / 0.5859 GB, free: 28.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003258/0.6245, allocations: 308.6 kB / 0.5862 GB, free: 28.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006604/0.6252, allocations: 0.6455 MB / 0.5868 GB, free: 27.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002101/0.6273, allocations: 1.577 MB / 0.5884 GB, free: 27.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.6273, allocations: 0 / 0.5884 GB, free: 27.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.6273, allocations: 0 / 0.5884 GB, free: 27.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.164e-05/0.6273, allocations: 3.328 kB / 0.5884 GB, free: 27.23 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.01141/0.6387, allocations: 2.638 MB / 0.591 GB, free: 26.06 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.608e-05/0.6388, allocations: 8.781 kB / 0.591 GB, free: 26.06 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002052/0.6391, allocations: 127.3 kB / 0.5911 GB, free: 25.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004574/0.6436, allocations: 0.6827 MB / 0.5917 GB, free: 25.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/0.6456, allocations: 0.8012 MB / 0.5925 GB, free: 25.26 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005382/0.6461, allocations: 348.2 kB / 0.5929 GB, free: 24.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/0.6464, allocations: 82.25 kB / 0.5929 GB, free: 24.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003282/0.6497, allocations: 1.197 MB / 0.5941 GB, free: 24.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.6497, allocations: 0 / 0.5941 GB, free: 24.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.6498, allocations: 30.56 kB / 0.5941 GB, free: 24.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/0.6499, allocations: 21.75 kB / 0.5942 GB, free: 24.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003297/0.6532, allocations: 1.147 MB / 0.5953 GB, free: 24.06 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.009815/0.663, allocations: 3.827 MB / 0.599 GB, free: 21.76 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009953/0.673, allocations: 2.575 MB / 0.6015 GB, free: 20.72 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00273/0.6758, allocations: 0.8204 MB / 0.6023 GB, free: 20.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.6759, allocations: 13.95 kB / 0.6023 GB, free: 20.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/0.676, allocations: 44.72 kB / 0.6024 GB, free: 20.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 5.28e-06/0.676, allocations: 0 / 0.6024 GB, free: 20.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.0464/0.7224, allocations: 8.863 MB / 0.611 GB, free: 18.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/0.7226, allocations: 91.7 kB / 0.6111 GB, free: 18.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003293/0.7259, allocations: 0.9082 MB / 0.612 GB, free: 17.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007043/0.7267, allocations: 45.3 kB / 0.6121 GB, free: 17.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006451/0.7273, allocations: 472.7 kB / 0.6125 GB, free: 17.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008285/0.7282, allocations: 353.9 kB / 0.6129 GB, free: 16.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006182/0.7288, allocations: 176.7 kB / 0.613 GB, free: 16.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000246/0.7291, allocations: 342.6 kB / 0.6133 GB, free: 16.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002594/0.7317, allocations: 0.6938 MB / 0.614 GB, free: 16.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.734, allocations: 0.8417 MB / 0.6148 GB, free: 15.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004366/0.7384, allocations: 1.561 MB / 0.6164 GB, free: 14.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/0.7384, allocations: 1.125 kB / 0.6164 GB, free: 14.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01873/0.7572, allocations: 4.542 MB / 0.6208 GB, free: 11.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.427e-05/0.7573, allocations: 8 kB / 0.6208 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.664e-05/0.7574, allocations: 7.938 kB / 0.6208 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008229/0.7656, allocations: 2.237 MB / 0.623 GB, free: 9.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.7669, allocations: 155.8 kB / 0.6232 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02966/0.7965, allocations: 10.95 MB / 0.6338 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/0.7989, allocations: 179.1 kB / 0.634 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.7991, allocations: 35.98 kB / 0.6341 GB, free: 14 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.0006766/0.7998, allocations: 233.6 kB / 0.6343 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005272/0.8003, allocations: 126.5 kB / 0.6344 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01709/0.8174, allocations: 4.454 MB / 0.6387 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.598e-05/0.8175, allocations: 12 kB / 0.6388 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.8175, allocations: 0 / 0.6388 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-05/0.8176, allocations: 3.984 kB / 0.6388 GB, free: 9.156 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.02051/0.8381, allocations: 6.135 MB / 0.6448 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/0.8382, allocations: 0 / 0.6448 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006863/0.8389, allocations: 111.8 kB / 0.6449 GB, free: 2.762 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008426/0.8473, allocations: 2.124 MB / 0.6469 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002607/0.8476, allocations: 16 kB / 0.6469 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02903/0.8767, allocations: 9.721 MB / 0.6564 GB, free: 6.754 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.8768, allocations: 0 / 0.6564 GB, free: 6.754 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02096/0.8977, allocations: 5.563 MB / 0.6619 GB, free: 1.164 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.8989, allocations: 207.4 kB / 0.6621 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006567/0.8996, allocations: 24 kB / 0.6621 GB, free: 0.918 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/0.9015, allocations: 123.8 kB / 0.6622 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/0.9025, allocations: 232.6 kB / 0.6624 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.9027, allocations: 31.98 kB / 0.6625 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001398/0.9041, allocations: 0.6232 MB / 0.6631 GB, free: 15.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.9041, allocations: 0 / 0.6631 GB, free: 15.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002534/0.9066, allocations: 455.5 kB / 0.6635 GB, free: 15.46 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.02155/0.9282, allocations: 6.135 MB / 0.6695 GB, free: 9.289 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0111/0.9394, allocations: 2.61 MB / 0.672 GB, free: 6.668 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.9395, allocations: 0 / 0.672 GB, free: 6.668 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00737/0.9469, allocations: 1.767 MB / 0.6738 GB, free: 4.883 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/0.9494, allocations: 114.4 kB / 0.6739 GB, free: 4.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06012/1.009, allocations: 16.66 MB / 0.6902 GB, free: 3.684 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/1.011, allocations: 1.085 MB / 0.6912 GB, free: 2.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006924/1.012, allocations: 90.95 kB / 0.6913 GB, free: 2.477 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009611/1.013, allocations: 435.3 kB / 0.6917 GB, free: 2.055 MB / 494.1 MB Notification: Performance of SimCode: time 3.546e-06/1.013, allocations: 0 / 0.6917 GB, free: 2.055 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1205/1.133, allocations: 37.99 MB / 0.7288 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.57, allocations: 15.14 kB / 0.7288 GB, free: 12.19 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)