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.001353/0.001353, allocations: 101 kB / 20.52 MB, free: 1.449 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.001522/0.001522, allocations: 211.5 kB / 23.84 MB, free: 4.664 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.47/1.47, allocations: 230.6 MB / 257.6 MB, free: 8 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.03935/0.03935, allocations: 6.135 MB / 320.2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 47.92 kB / 445.3 MB, free: 5.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1097, allocations: 55.02 MB / 0.4886 GB, free: 14.29 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.002228/0.1119, allocations: 1.055 MB / 0.4896 GB, free: 13.24 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.114, allocations: 1.528 MB / 0.4911 GB, free: 11.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.1141, allocations: 0 / 0.4911 GB, free: 11.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.1144, allocations: 103.5 kB / 0.4912 GB, free: 11.6 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.1146, allocations: 83.53 kB / 0.4913 GB, free: 11.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.1162, allocations: 0.8636 MB / 0.4921 GB, free: 10.65 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.1164, allocations: 111.5 kB / 0.4922 GB, free: 10.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1165, allocations: 25.58 kB / 0.4923 GB, free: 10.51 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.905e-05/0.1166, allocations: 43.84 kB / 0.4923 GB, free: 10.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.614e-05/0.1167, allocations: 51.78 kB / 0.4923 GB, free: 10.42 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1167, allocations: 8 kB / 0.4924 GB, free: 10.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/0.1171, allocations: 219.7 kB / 0.4926 GB, free: 10.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/0.1171, allocations: 19.92 kB / 0.4926 GB, free: 10.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.719e-05/0.1172, allocations: 51.73 kB / 0.4926 GB, free: 10.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004334/0.1176, allocations: 294.9 kB / 0.4929 GB, free: 9.836 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1176, allocations: 0 / 0.4929 GB, free: 9.836 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1176, allocations: 4 kB / 0.4929 GB, free: 9.832 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1176, allocations: 0 / 0.4929 GB, free: 9.832 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.002137/0.1198, allocations: 0.5754 MB / 0.4935 GB, free: 9.223 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.1198, allocations: 16.02 kB / 0.4935 GB, free: 9.207 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.904e-05/0.1198, allocations: 4.188 kB / 0.4935 GB, free: 9.203 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.728e-05/0.1199, allocations: 38.75 kB / 0.4935 GB, free: 9.156 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.1199, allocations: 16.84 kB / 0.4935 GB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.1202, allocations: 149.2 kB / 0.4937 GB, free: 8.973 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.1202, allocations: 12.31 kB / 0.4937 GB, free: 8.961 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.1202, allocations: 16.31 kB / 0.4937 GB, free: 8.945 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.1206, allocations: 170.5 kB / 0.4939 GB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1206, allocations: 0 / 0.4939 GB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.1206, allocations: 4 kB / 0.4939 GB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.1206, allocations: 8 kB / 0.4939 GB, free: 8.758 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.1208, allocations: 120 kB / 0.494 GB, free: 8.641 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008652/0.1217, allocations: 459.5 kB / 0.4944 GB, free: 8.148 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007123/0.1224, allocations: 170.6 kB / 0.4946 GB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.867e-05/0.1225, allocations: 48.84 kB / 0.4947 GB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004802/0.123, allocations: 352.4 kB / 0.495 GB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.123, allocations: 42.44 kB / 0.495 GB, free: 7.508 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.123, allocations: 0 / 0.495 GB, free: 7.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007971/0.1238, allocations: 222.3 kB / 0.4952 GB, free: 7.281 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.1239, allocations: 81.11 kB / 0.4953 GB, free: 7.184 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.124, allocations: 160.6 kB / 0.4955 GB, free: 7.016 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.1241, allocations: 25.7 kB / 0.4955 GB, free: 6.984 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.1242, allocations: 119.9 kB / 0.4956 GB, free: 6.863 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.1242, allocations: 31.7 kB / 0.4956 GB, free: 6.832 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.172e-05/0.1243, allocations: 49.69 kB / 0.4957 GB, free: 6.777 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1244, allocations: 330.8 kB / 0.496 GB, free: 6.445 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.1245, allocations: 59.98 kB / 0.4961 GB, free: 6.387 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.1247, allocations: 113.2 kB / 0.4962 GB, free: 6.258 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.125, allocations: 188.2 kB / 0.4963 GB, free: 6.059 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.125, allocations: 0 / 0.4963 GB, free: 6.059 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005768/0.1255, allocations: 250.4 kB / 0.4966 GB, free: 5.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.1256, allocations: 19.88 kB / 0.4966 GB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1256, allocations: 3.938 kB / 0.4966 GB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004659/0.126, allocations: 68.8 kB / 0.4967 GB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.1262, allocations: 35.92 kB / 0.4967 GB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.1278, allocations: 1.385 MB / 0.4981 GB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.1279, allocations: 23.78 kB / 0.4981 GB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.1279, allocations: 11.98 kB / 0.4981 GB, free: 4.141 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.0001543/0.1281, allocations: 133.7 kB / 0.4982 GB, free: 4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.1281, allocations: 7.953 kB / 0.4982 GB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005024/0.1286, allocations: 195.1 kB / 0.4984 GB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1286, allocations: 4 kB / 0.4984 GB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.1286, allocations: 0 / 0.4984 GB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1286, allocations: 3.938 kB / 0.4984 GB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.1289, allocations: 196.7 kB / 0.4986 GB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1289, allocations: 0 / 0.4986 GB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.295e-05/0.129, allocations: 19.92 kB / 0.4986 GB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000349/0.1293, allocations: 64.81 kB / 0.4987 GB, free: 3.469 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.1293, allocations: 11.92 kB / 0.4987 GB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/0.1308, allocations: 1.373 MB / 0.5 GB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1308, allocations: 0 / 0.5 GB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004803/0.1312, allocations: 272.4 kB / 0.5003 GB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.1313, allocations: 7.953 kB / 0.5003 GB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.1313, allocations: 8 kB / 0.5003 GB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.1314, allocations: 4 kB / 0.5003 GB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.1314, allocations: 11.92 kB / 0.5003 GB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.1314, allocations: 8 kB / 0.5003 GB, free: 1.637 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.1315, allocations: 122.9 kB / 0.5005 GB, free: 1.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1315, allocations: 0 / 0.5005 GB, free: 1.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003523/0.1319, allocations: 40 kB / 0.5005 GB, free: 1.48 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.0008542/0.1327, allocations: 0.8185 MB / 0.5013 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006198/0.1334, allocations: 258.6 kB / 0.5015 GB, free: 376 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.1334, allocations: 4 kB / 0.5015 GB, free: 372 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003388/0.1337, allocations: 178.5 kB / 0.5017 GB, free: 180 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.134, allocations: 10.97 kB / 0.5017 GB, free: 172 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.1366, allocations: 1.952 MB / 0.5036 GB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.137, allocations: 0.7084 MB / 0.5043 GB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.715e-05/0.1371, allocations: 12.97 kB / 0.5043 GB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.503e-05/0.1371, allocations: 35.42 kB / 0.5044 GB, free: 13.32 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1371, allocations: 0 / 0.5044 GB, free: 13.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/0.164, allocations: 3.747 MB / 0.508 GB, free: 9.707 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.79, allocations: 11.64 kB / 0.508 GB, free: 9.699 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.608754586894065] Failed to read output from testmodel.py, exit status != 0: 11.95912924199365 12.169354503 12.04914747 Calling exit ...