Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.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.001314/0.001314, allocations: 111.7 kB / 19.74 MB, free: 2.164 MB / 14.72 MB " [Timeout remaining time 180] 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.001592/0.001592, allocations: 217.6 kB / 23.05 MB, free: 5.004 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03916/0.03916, allocations: 6.127 MB / 319.4 MB, free: 12.97 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSysPro.Examples.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 47.94 kB / 444.5 MB, free: 5.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1106, allocations: 55.02 MB / 499.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.002454/0.113, allocations: 1.063 MB / 0.4888 GB, free: 13.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.1153, allocations: 1.52 MB / 0.4903 GB, free: 11.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.068e-05/0.1154, allocations: 4 kB / 0.4903 GB, free: 11.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000407/0.1158, allocations: 103.5 kB / 0.4904 GB, free: 11.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.1161, allocations: 83.55 kB / 0.4905 GB, free: 11.51 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.1178, allocations: 0.8558 MB / 0.4914 GB, free: 10.65 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.1181, allocations: 115.4 kB / 0.4915 GB, free: 10.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1182, allocations: 25.52 kB / 0.4915 GB, free: 10.51 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.233e-05/0.1182, allocations: 51.73 kB / 0.4915 GB, free: 10.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.937e-05/0.1183, allocations: 51.77 kB / 0.4916 GB, free: 10.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.1184, allocations: 8 kB / 0.4916 GB, free: 10.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004206/0.1188, allocations: 219.8 kB / 0.4918 GB, free: 10.19 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/0.1188, allocations: 27.84 kB / 0.4918 GB, free: 10.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.089e-05/0.1189, allocations: 51.73 kB / 0.4919 GB, free: 10.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004413/0.1193, allocations: 275.1 kB / 0.4921 GB, free: 9.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1193, allocations: 4 kB / 0.4921 GB, free: 9.836 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1193, allocations: 0 / 0.4921 GB, free: 9.836 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.1193, allocations: 0 / 0.4921 GB, free: 9.836 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.002071/0.1214, allocations: 0.5871 MB / 0.4927 GB, free: 9.215 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.1214, allocations: 12.03 kB / 0.4927 GB, free: 9.203 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.897e-05/0.1215, allocations: 38.73 kB / 0.4928 GB, free: 9.156 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.1216, allocations: 12.89 kB / 0.4928 GB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.1218, allocations: 150.3 kB / 0.4929 GB, free: 8.973 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1218, allocations: 4.375 kB / 0.4929 GB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.1218, allocations: 16.31 kB / 0.4929 GB, free: 8.953 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.1221, allocations: 167.8 kB / 0.4931 GB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1222, allocations: 3.938 kB / 0.4931 GB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.1222, allocations: 8 kB / 0.4931 GB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.1222, allocations: 3.984 kB / 0.4931 GB, free: 8.762 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002172/0.1224, allocations: 120 kB / 0.4932 GB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008867/0.1233, allocations: 471.5 kB / 0.4937 GB, free: 8.141 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007197/0.124, allocations: 170.6 kB / 0.4938 GB, free: 7.965 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.807e-05/0.1241, allocations: 44.86 kB / 0.4939 GB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005019/0.1246, allocations: 344.4 kB / 0.4942 GB, free: 7.562 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.1246, allocations: 38.5 kB / 0.4943 GB, free: 7.516 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.1246, allocations: 0 / 0.4943 GB, free: 7.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008205/0.1255, allocations: 222.3 kB / 0.4945 GB, free: 7.289 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.1255, allocations: 81.05 kB / 0.4945 GB, free: 7.191 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.1257, allocations: 160.8 kB / 0.4947 GB, free: 7.023 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.1257, allocations: 29.7 kB / 0.4947 GB, free: 6.988 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.1258, allocations: 124.2 kB / 0.4948 GB, free: 6.863 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.1259, allocations: 35.72 kB / 0.4949 GB, free: 6.828 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.925e-05/0.126, allocations: 49.64 kB / 0.4949 GB, free: 6.773 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.1261, allocations: 322.8 kB / 0.4952 GB, free: 6.449 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.1263, allocations: 71.91 kB / 0.4953 GB, free: 6.379 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.1264, allocations: 110 kB / 0.4954 GB, free: 6.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.1267, allocations: 176 kB / 0.4956 GB, free: 6.062 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1267, allocations: 0 / 0.4956 GB, free: 6.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005734/0.1273, allocations: 262.2 kB / 0.4958 GB, free: 5.797 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1273, allocations: 11.94 kB / 0.4958 GB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1273, allocations: 0 / 0.4958 GB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004483/0.1277, allocations: 76.89 kB / 0.4959 GB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.1279, allocations: 27.98 kB / 0.4959 GB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.1294, allocations: 1.385 MB / 0.4973 GB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.1296, allocations: 23.84 kB / 0.4973 GB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.1296, allocations: 4 kB / 0.4973 GB, free: 4.152 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (21): * Single equations (assignments): 20 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001486/0.1297, allocations: 137.8 kB / 0.4974 GB, free: 4.008 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.1298, allocations: 11.94 kB / 0.4975 GB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005005/0.1303, allocations: 187.1 kB / 0.4976 GB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1303, allocations: 0 / 0.4976 GB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.1303, allocations: 0 / 0.4976 GB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.1303, allocations: 11.92 kB / 0.4976 GB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.1306, allocations: 204.6 kB / 0.4978 GB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1306, allocations: 0 / 0.4978 GB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.545e-05/0.1307, allocations: 12 kB / 0.4978 GB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003595/0.131, allocations: 64.8 kB / 0.4979 GB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.131, allocations: 7.938 kB / 0.4979 GB, free: 3.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/0.1325, allocations: 1.369 MB / 0.4993 GB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1325, allocations: 4 kB / 0.4993 GB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004983/0.133, allocations: 276.3 kB / 0.4995 GB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.133, allocations: 11.95 kB / 0.4995 GB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.1331, allocations: 7.984 kB / 0.4995 GB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.1332, allocations: 8 kB / 0.4996 GB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.1332, allocations: 3.984 kB / 0.4996 GB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.1332, allocations: 4 kB / 0.4996 GB, free: 1.648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.1333, allocations: 126.9 kB / 0.4997 GB, free: 1.527 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1333, allocations: 0 / 0.4997 GB, free: 1.527 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003386/0.1337, allocations: 36 kB / 0.4997 GB, free: 1.492 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (10): * Single equations (assignments): 9 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008976/0.1346, allocations: 0.8185 MB / 0.5005 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006378/0.1352, allocations: 261.5 kB / 0.5008 GB, free: 388 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1352, allocations: 0 / 0.5008 GB, free: 388 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.1355, allocations: 178.9 kB / 0.5009 GB, free: 196 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.1358, allocations: 23.88 kB / 0.501 GB, free: 172 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.1387, allocations: 1.95 MB / 0.5029 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.139, allocations: 0.7084 MB / 0.5036 GB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.849e-05/0.1391, allocations: 16.95 kB / 0.5036 GB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.998e-05/0.1392, allocations: 35.42 kB / 0.5036 GB, free: 13.32 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1392, allocations: 0 / 0.5036 GB, free: 13.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03237/0.1715, allocations: 3.721 MB / 0.5072 GB, free: 9.727 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.7, allocations: 3.938 kB / 0.5072 GB, free: 9.723 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.589026196001214] Failed to read output from testmodel.py, exit status != 0: 11.80982507099543 12.014946247 11.892468251 Calling exit ...