Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.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.001226/0.001226, allocations: 115.6 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.001186/0.001186, 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.381/1.381, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.05275/0.05275, allocations: 8.229 MB / 311.6 MB, free: 2.09 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.BreakerTests.Islanding1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 59.91 kB / 434 MB, free: 11.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2646, allocations: 54.36 MB / 488.3 MB, free: 27.39 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.003748/0.2684, allocations: 3.614 MB / 491.9 MB, free: 24.54 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.2698, allocations: 0.9912 MB / 492.9 MB, free: 23.74 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.2699, allocations: 7.531 kB / 492.9 MB, free: 23.74 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.2702, allocations: 173.3 kB / 493.1 MB, free: 23.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003779/0.2706, allocations: 253.7 kB / 493.4 MB, free: 23.41 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo:34:7-34:67:writable] Warning: In relation pv.rampTime == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.2722, allocations: 1.236 MB / 494.6 MB, free: 22.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005128/0.2727, allocations: 0.4963 MB / 495.1 MB, free: 22.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.2729, allocations: 119 kB / 495.2 MB, free: 22.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.2731, allocations: 206.5 kB / 495.4 MB, free: 22.01 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.2734, allocations: 276 kB / 495.7 MB, free: 21.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.135e-05/0.2734, allocations: 38.56 kB / 495.7 MB, free: 21.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004261/0.2739, allocations: 268.3 kB / 496 MB, free: 21.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.2739, allocations: 99.52 kB / 496.1 MB, free: 21.65 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.2741, allocations: 239.5 kB / 496.3 MB, free: 21.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006606/0.2748, allocations: 0.6735 MB / 497 MB, free: 21.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2748, allocations: 1.438 kB / 497 MB, free: 21.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2748, allocations: 0 / 497 MB, free: 21.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.2748, allocations: 0 / 497 MB, free: 21.02 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004322/0.2791, allocations: 1.384 MB / 498.4 MB, free: 20.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2791, allocations: 12.48 kB / 498.4 MB, free: 20.11 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.522e-05/0.2792, allocations: 76.09 kB / 498.5 MB, free: 20.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.2793, allocations: 56.5 kB / 498.5 MB, free: 20.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.2797, allocations: 350 kB / 498.9 MB, free: 19.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.003e-05/0.2797, allocations: 66.38 kB / 498.9 MB, free: 19.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.374e-05/0.2798, allocations: 43.81 kB / 499 MB, free: 19.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007467/0.2805, allocations: 0.5708 MB / 499.5 MB, free: 19.24 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.2806, allocations: 3.938 kB / 499.5 MB, free: 19.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.2806, allocations: 11.47 kB / 499.5 MB, free: 19.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.2806, allocations: 9.25 kB / 499.6 MB, free: 19.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006896/0.2813, allocations: 0.5141 MB / 0.4883 GB, free: 18.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.2835, allocations: 2.237 MB / 0.4905 GB, free: 16.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009698/0.2844, allocations: 0.6712 MB / 0.4912 GB, free: 16.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004027/0.2848, allocations: 315.4 kB / 0.4915 GB, free: 16.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.677e-05/0.2849, allocations: 21.08 kB / 0.4915 GB, free: 16.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006016/0.2855, allocations: 410.5 kB / 0.4919 GB, free: 16.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 2.074e-06/0.2855, allocations: 0 / 0.4919 GB, free: 16.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.006365/0.2919, allocations: 2.093 MB / 0.4939 GB, free: 14.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.2919, allocations: 82.48 kB / 0.494 GB, free: 14.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.2922, allocations: 273.7 kB / 0.4943 GB, free: 14.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.2922, allocations: 45.14 kB / 0.4943 GB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.114e-05/0.2923, allocations: 185.6 kB / 0.4945 GB, free: 14.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.2924, allocations: 214.5 kB / 0.4947 GB, free: 14.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.2926, allocations: 129.5 kB / 0.4948 GB, free: 14.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.27e-05/0.2927, allocations: 350 kB / 0.4952 GB, free: 13.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004582/0.2931, allocations: 337.3 kB / 0.4955 GB, free: 13.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000491/0.2936, allocations: 408.8 kB / 0.4959 GB, free: 13.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009791/0.2946, allocations: 0.7539 MB / 0.4966 GB, free: 12.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2946, allocations: 1.781 kB / 0.4966 GB, free: 12.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0029/0.2975, allocations: 1.335 MB / 0.4979 GB, free: 12.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.2975, allocations: 10.05 kB / 0.4979 GB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2975, allocations: 0 / 0.4979 GB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002719/0.3002, allocations: 0.6696 MB / 0.4986 GB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/0.3006, allocations: 108.8 kB / 0.4987 GB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005781/0.3064, allocations: 4.342 MB / 0.5029 GB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/0.3068, allocations: 55.23 kB / 0.503 GB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.953e-05/0.3068, allocations: 23.75 kB / 0.503 GB, free: 8.457 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 {(7,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0001856/0.307, allocations: 171.1 kB / 0.5032 GB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-05/0.3071, allocations: 47.48 kB / 0.5032 GB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002967/0.3101, allocations: 1.316 MB / 0.5045 GB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.3101, allocations: 7.375 kB / 0.5045 GB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.3101, allocations: 0 / 0.5045 GB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3101, allocations: 5.141 kB / 0.5045 GB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003127/0.3132, allocations: 2.012 MB / 0.5065 GB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3132, allocations: 3.984 kB / 0.5065 GB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.3134, allocations: 75.91 kB / 0.5065 GB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00252/0.316, allocations: 0.6746 MB / 0.5072 GB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.316, allocations: 15.98 kB / 0.5072 GB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005078/0.3211, allocations: 4.282 MB / 0.5114 GB, free: 268 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3211, allocations: 160 / 0.5114 GB, free: 268 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003093/0.3242, allocations: 1.321 MB / 0.5127 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.3243, allocations: 128.7 kB / 0.5128 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.421e-05/0.3244, allocations: 16 kB / 0.5128 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003563/0.3247, allocations: 31.92 kB / 0.5129 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.3248, allocations: 48.48 kB / 0.5129 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/0.3249, allocations: 20 kB / 0.5129 GB, free: 14.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002197/0.3251, allocations: 194 kB / 0.5131 GB, free: 14.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3251, allocations: 0 / 0.5131 GB, free: 14.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006748/0.3258, allocations: 211.9 kB / 0.5133 GB, free: 14.26 MB / 382.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: 2 ($whenCondition1,cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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 {(7,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003581/0.3294, allocations: 1.892 MB / 0.5152 GB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002386/0.3318, allocations: 1.08 MB / 0.5162 GB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.3318, allocations: 4 kB / 0.5162 GB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001561/0.3333, allocations: 0.6968 MB / 0.5169 GB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.3337, allocations: 44.66 kB / 0.5169 GB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.3441, allocations: 5.621 MB / 0.5224 GB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.3446, allocations: 0.8259 MB / 0.5232 GB, free: 3.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002123/0.3448, allocations: 63.22 kB / 0.5233 GB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.3451, allocations: 147.3 kB / 0.5234 GB, free: 3.723 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3451, allocations: 0 / 0.5234 GB, free: 3.723 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04533/0.3904, allocations: 16.9 MB / 0.5399 GB, free: 2.953 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.13, allocations: 7.938 kB / 0.5399 GB, free: 2.945 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.530307627283037] Failed to read output from testmodel.py, exit status != 0: 12.2267160336487 12.23993833 11.962441523 Calling exit ...