Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 114.4 kB / 17.17 MB, free: 5.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 196.5 kB / 20.13 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05233/0.05233, allocations: 8.233 MB / 311.6 MB, free: 2.047 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 71.89 kB / 434 MB, free: 11.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2756, allocations: 54.35 MB / 488.3 MB, free: 27.48 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.002544/0.2781, allocations: 1.627 MB / 489.9 MB, free: 26.22 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.28, allocations: 1.559 MB / 491.5 MB, free: 24.96 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.456e-05/0.2801, allocations: 3.688 kB / 491.5 MB, free: 24.96 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.2805, allocations: 130.2 kB / 491.6 MB, free: 24.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.2808, allocations: 140.9 kB / 491.8 MB, free: 24.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.2824, allocations: 1.047 MB / 492.8 MB, free: 23.99 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.2827, allocations: 246.9 kB / 493.1 MB, free: 23.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.2829, allocations: 53.61 kB / 493.1 MB, free: 23.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.283, allocations: 105.2 kB / 493.2 MB, free: 23.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.2831, allocations: 132.4 kB / 493.3 MB, free: 23.67 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.2832, allocations: 18.97 kB / 493.4 MB, free: 23.67 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000376/0.2835, allocations: 230 kB / 493.6 MB, free: 23.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/0.2836, allocations: 56.02 kB / 493.6 MB, free: 23.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.245e-05/0.2837, allocations: 121.9 kB / 493.8 MB, free: 23.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004573/0.2841, allocations: 421.1 kB / 494.2 MB, free: 23.17 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2841, allocations: 0 / 494.2 MB, free: 23.17 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2841, allocations: 0 / 494.2 MB, free: 23.17 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.2841, allocations: 1.375 kB / 494.2 MB, free: 23.17 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003259/0.2874, allocations: 0.9982 MB / 495.2 MB, free: 22.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.2874, allocations: 14.3 kB / 495.2 MB, free: 22.47 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.706e-05/0.2875, allocations: 56.02 kB / 495.2 MB, free: 22.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.421e-05/0.2876, allocations: 27.02 kB / 495.3 MB, free: 22.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.2879, allocations: 266.6 kB / 495.5 MB, free: 22.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.2879, allocations: 17.23 kB / 495.5 MB, free: 22.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.2879, allocations: 25.59 kB / 495.6 MB, free: 22.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/0.2883, allocations: 297.8 kB / 495.9 MB, free: 21.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2884, allocations: 7.875 kB / 495.9 MB, free: 21.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.2884, allocations: 6.031 kB / 495.9 MB, free: 21.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.2884, allocations: 8.625 kB / 495.9 MB, free: 21.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/0.2887, allocations: 244.5 kB / 496.1 MB, free: 21.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.2902, allocations: 1.166 MB / 497.3 MB, free: 20.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005753/0.2907, allocations: 276.9 kB / 497.6 MB, free: 20.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.2909, allocations: 140.6 kB / 497.7 MB, free: 20.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.107e-05/0.291, allocations: 4.562 kB / 497.7 MB, free: 20.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.291, allocations: 45.33 kB / 497.7 MB, free: 20.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.804e-06/0.291, allocations: 0 / 497.7 MB, free: 20.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.003678/0.2947, allocations: 1.062 MB / 498.8 MB, free: 19.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.2947, allocations: 106.9 kB / 498.9 MB, free: 19.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.295, allocations: 217.7 kB / 499.1 MB, free: 19.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.295, allocations: 34.98 kB / 499.2 MB, free: 19.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.2951, allocations: 137.9 kB / 499.3 MB, free: 19.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.437e-05/0.2951, allocations: 90 kB / 499.4 MB, free: 19.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.2952, allocations: 68.38 kB / 499.4 MB, free: 19.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.248e-05/0.2953, allocations: 331.2 kB / 499.8 MB, free: 18.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.2955, allocations: 178.1 kB / 499.9 MB, free: 18.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.2958, allocations: 214.1 kB / 0.4884 GB, free: 18.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005328/0.2963, allocations: 377.6 kB / 0.4888 GB, free: 18.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2964, allocations: 0 / 0.4888 GB, free: 18.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001965/0.2983, allocations: 0.7338 MB / 0.4895 GB, free: 17.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.2983, allocations: 6.531 kB / 0.4895 GB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2983, allocations: 5 kB / 0.4895 GB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00201/0.3004, allocations: 426.8 kB / 0.4899 GB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.3006, allocations: 59.62 kB / 0.49 GB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004154/0.3048, allocations: 2.729 MB / 0.4926 GB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/0.3051, allocations: 40.36 kB / 0.4927 GB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.3051, allocations: 11.62 kB / 0.4927 GB, free: 15.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (33): * Single equations (assignments): 32 * 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 {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.3053, allocations: 141.2 kB / 0.4928 GB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/0.3054, allocations: 22.3 kB / 0.4928 GB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/0.3074, allocations: 0.6856 MB / 0.4935 GB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.3074, allocations: 3.219 kB / 0.4935 GB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.3074, allocations: 0 / 0.4935 GB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3074, allocations: 5.062 kB / 0.4935 GB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/0.3077, allocations: 401.3 kB / 0.4939 GB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3077, allocations: 0 / 0.4939 GB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.3079, allocations: 33.27 kB / 0.4939 GB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001985/0.3099, allocations: 412.2 kB / 0.4943 GB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.3099, allocations: 10.36 kB / 0.4943 GB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003768/0.3137, allocations: 2.701 MB / 0.497 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3137, allocations: 3.984 kB / 0.497 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/0.3156, allocations: 0.7303 MB / 0.4977 GB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-05/0.3157, allocations: 98.94 kB / 0.4978 GB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.212e-05/0.3158, allocations: 6.469 kB / 0.4978 GB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.3161, allocations: 32.23 kB / 0.4978 GB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.3161, allocations: 21.72 kB / 0.4979 GB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.3162, allocations: 9.969 kB / 0.4979 GB, free: 11.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.3163, allocations: 159.7 kB / 0.498 GB, free: 11.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3163, allocations: 0 / 0.498 GB, free: 11.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005254/0.3168, allocations: 107.3 kB / 0.4981 GB, free: 11.33 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 (22): * Single equations (assignments): 21 * 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 {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002146/0.319, allocations: 1.29 MB / 0.4994 GB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.3205, allocations: 0.5863 MB / 0.4999 GB, free: 9.961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.3205, allocations: 0 / 0.4999 GB, free: 9.961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009828/0.3215, allocations: 385.5 kB / 0.5003 GB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.3219, allocations: 28.73 kB / 0.5003 GB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00624/0.3281, allocations: 3.488 MB / 0.5037 GB, free: 7.227 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.3283, allocations: 0.754 MB / 0.5045 GB, free: 6.488 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001455/0.3285, allocations: 31.7 kB / 0.5045 GB, free: 6.473 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.3286, allocations: 81.97 kB / 0.5046 GB, free: 6.406 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3286, allocations: 0 / 0.5046 GB, free: 6.406 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03977/0.3684, allocations: 9.702 MB / 0.5141 GB, free: 13.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.76, allocations: 8 kB / 0.5141 GB, free: 13.61 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.197827199008316] Failed to read output from testmodel.py, exit status != 0: 11.85875703021884 11.872225335 11.585361294 Calling exit ...