Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.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.001829/0.001829, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.5/1.5, allocations: 230.6 MB / 252.7 MB, free: 14.24 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.002258/0.002258, allocations: 213.2 kB / 309.2 MB, free: 3.098 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.6459/0.6459, allocations: 107.2 MB / 472.8 MB, free: 29.84 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.VSourceIO,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO",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.002542/0.002542, allocations: 83.7 kB / 0.633 GB, free: 29.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1671, allocations: 80.14 MB / 0.7113 GB, free: 7.664 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO): time 0.008209/0.1753, allocations: 5.843 MB / 0.717 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004432/0.1798, allocations: 1.915 MB / 0.7189 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005654/0.1803, allocations: 8 kB / 0.7189 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00061/0.1809, allocations: 238 kB / 0.7191 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.1825, allocations: 0.629 MB / 0.7197 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.1843, allocations: 0.7406 MB / 0.7205 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002059/0.1864, allocations: 1.507 MB / 0.7219 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000386/0.1868, allocations: 196.7 kB / 0.7221 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008167/0.1876, allocations: 0.6341 MB / 0.7227 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009575/0.1885, allocations: 0.7192 MB / 0.7234 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000191/0.1887, allocations: 120 kB / 0.7236 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004973/0.1892, allocations: 235.9 kB / 0.7238 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003278/0.1896, allocations: 302.8 kB / 0.7241 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005491/0.1901, allocations: 0.5401 MB / 0.7246 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001943/0.1921, allocations: 1.614 MB / 0.7262 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1921, allocations: 0 / 0.7262 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1921, allocations: 0 / 0.7262 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.712e-05/0.1921, allocations: 3.984 kB / 0.7262 GB, free: 8.371 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.009058/0.2011, allocations: 2.616 MB / 0.7287 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.2012, allocations: 8.031 kB / 0.7287 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001875/0.2014, allocations: 130.5 kB / 0.7289 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004431/0.2058, allocations: 0.6899 MB / 0.7295 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.2073, allocations: 0.7515 MB / 0.7303 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004993/0.2078, allocations: 456.1 kB / 0.7307 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.208, allocations: 75.95 kB / 0.7308 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/0.2107, allocations: 1.209 MB / 0.732 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.2107, allocations: 0 / 0.732 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-05/0.2108, allocations: 32 kB / 0.732 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.2109, allocations: 23.94 kB / 0.732 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002914/0.2138, allocations: 1.155 MB / 0.7331 GB, free: 1.047 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.007497/0.2213, allocations: 2.948 MB / 0.736 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00784/0.2291, allocations: 2.037 MB / 0.738 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00205/0.2312, allocations: 0.7469 MB / 0.7387 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000148/0.2313, allocations: 20.92 kB / 0.7388 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.02e-05/0.2314, allocations: 43.56 kB / 0.7388 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=100): time 3.015e-06/0.2314, allocations: 8 kB / 0.7388 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=100): time 0.04072/0.2721, allocations: 8.982 MB / 0.7476 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.2722, allocations: 90.11 kB / 0.7477 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.2742, allocations: 0.9176 MB / 0.7486 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003057/0.2745, allocations: 41.7 kB / 0.7486 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005105/0.2751, allocations: 477.4 kB / 0.7491 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006192/0.2757, allocations: 380.6 kB / 0.7494 GB, free: 196 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005222/0.2762, allocations: 163 kB / 0.7496 GB, free: 28 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002098/0.2764, allocations: 346 kB / 0.7499 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001969/0.2784, allocations: 0.7091 MB / 0.7506 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002058/0.2804, allocations: 0.8462 MB / 0.7514 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003948/0.2844, allocations: 1.578 MB / 0.753 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.2844, allocations: 4 kB / 0.753 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01696/0.3013, allocations: 4.566 MB / 0.7574 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.3014, allocations: 8 kB / 0.7574 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.3014, allocations: 4 kB / 0.7574 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00873/0.3101, allocations: 2.284 MB / 0.7597 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008813/0.311, allocations: 159.8 kB / 0.7598 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03309/0.3441, allocations: 10.78 MB / 0.7703 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/0.346, allocations: 179.3 kB / 0.7705 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002692/0.3463, allocations: 35.98 kB / 0.7706 GB, free: 10.31 MB / 0.545 GB 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.0007963/0.3471, allocations: 239.4 kB / 0.7708 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000529/0.3476, allocations: 131.1 kB / 0.7709 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0166/0.3642, allocations: 4.478 MB / 0.7753 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.007e-05/0.3642, allocations: 12 kB / 0.7753 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.3642, allocations: 4 kB / 0.7753 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-05/0.3643, allocations: 3.984 kB / 0.7753 GB, free: 5.418 MB / 0.545 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.01979/0.3841, allocations: 5.502 MB / 0.7807 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/0.3841, allocations: 0 / 0.7807 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006717/0.3847, allocations: 119.8 kB / 0.7808 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008274/0.393, allocations: 2.167 MB / 0.7829 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002438/0.3933, allocations: 19.98 kB / 0.7829 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02789/0.4212, allocations: 9.523 MB / 0.7922 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4212, allocations: 4 kB / 0.7922 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01919/0.4403, allocations: 5.597 MB / 0.7977 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000582/0.4409, allocations: 139 kB / 0.7978 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002441/0.4412, allocations: 23.94 kB / 0.7978 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.4424, allocations: 123.8 kB / 0.798 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007847/0.4432, allocations: 244.5 kB / 0.7982 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.377e-05/0.4433, allocations: 28 kB / 0.7982 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009769/0.4443, allocations: 0.6271 MB / 0.7988 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.4443, allocations: 0 / 0.7988 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001609/0.4459, allocations: 455.7 kB / 0.7993 GB, free: 12.65 MB / 0.5762 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 (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.01946/0.4653, allocations: 6.163 MB / 0.8053 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008704/0.474, allocations: 2.547 MB / 0.8078 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.474, allocations: 0 / 0.8078 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006436/0.4805, allocations: 1.739 MB / 0.8095 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.4815, allocations: 106.5 kB / 0.8096 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3347/0.8162, allocations: 16.17 MB / 0.8254 GB, free: 92.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005658/0.8168, allocations: 0.502 MB / 0.8259 GB, free: 92.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004412/0.8173, allocations: 94.73 kB / 0.8259 GB, free: 92.57 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005139/0.8178, allocations: 446.4 kB / 0.8264 GB, free: 92.23 MB / 0.5762 GB Notification: Performance of SimCode: time 1.843e-06/0.8178, allocations: 0 / 0.8264 GB, free: 92.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06894/0.8867, allocations: 40.62 MB / 0.866 GB, free: 59.36 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/14.91, allocations: 1.719 kB / 0.866 GB, free: 59.36 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO.fmu > OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.665663276333362] Failed to read output from testmodel.py, exit status != 0: 15.044552301056683 15.055479935 14.86110193 Calling exit ...