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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) 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: translateModel(PowerSysPro.Examples.BreakerTests.Islanding1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1") translateModel(PowerSysPro.Examples.BreakerTests.Islanding1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000941/0.000941, allocations: 92.78 kB / 16.71 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 175.3 kB / 17.62 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.3 MB / 241.7 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0408/0.0408, allocations: 8.103 MB / 300.9 MB, free: 6.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003446, allocations: 8 kB / 364.1 MB, free: 7.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2234, allocations: 52.51 MB / 416.7 MB, free: 24.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.002541/0.226, allocations: 3.234 MB / 419.9 MB, free: 21.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.2274, allocations: 0.9574 MB / 420.8 MB, free: 20.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002162/0.2277, allocations: 8 kB / 420.9 MB, free: 20.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003906/0.2281, allocations: 143.4 kB / 421 MB, free: 20.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005266/0.2286, allocations: 222.8 kB / 421.2 MB, free: 20.27 MB / 302.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.001674/0.2303, allocations: 1.175 MB / 422.4 MB, free: 19.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004511/0.2307, allocations: 485.5 kB / 422.9 MB, free: 18.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.2309, allocations: 134.7 kB / 423 MB, free: 18.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.2311, allocations: 183.3 kB / 423.2 MB, free: 18.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.2313, allocations: 250.9 kB / 423.4 MB, free: 18.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.2314, allocations: 20 kB / 423.4 MB, free: 18.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003887/0.2318, allocations: 259.7 kB / 423.7 MB, free: 17.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.6e-05/0.2318, allocations: 83.59 kB / 423.8 MB, free: 17.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.232, allocations: 236.5 kB / 424 MB, free: 17.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004036/0.2324, allocations: 482.7 kB / 424.5 MB, free: 16.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2324, allocations: 0 / 424.5 MB, free: 16.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2324, allocations: 4 kB / 424.5 MB, free: 16.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.2324, allocations: 0 / 424.5 MB, free: 16.98 MB / 302.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.00434/0.2368, allocations: 1.303 MB / 425.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.2368, allocations: 8.031 kB / 425.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.2369, allocations: 52.38 kB / 425.8 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.2373, allocations: 347.3 kB / 426.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.186e-05/0.2373, allocations: 63.27 kB / 426.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.324e-05/0.2374, allocations: 40.38 kB / 426.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007429/0.2382, allocations: 0.5689 MB / 426.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.2382, allocations: 3.938 kB / 426.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.96e-05/0.2382, allocations: 20 kB / 426.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.2383, allocations: 15.98 kB / 426.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006598/0.2389, allocations: 0.5154 MB / 427.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002244/0.2412, allocations: 2.25 MB / 429.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009918/0.2422, allocations: 0.7492 MB / 430.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004229/0.2426, allocations: 358.5 kB / 430.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.005e-05/0.2427, allocations: 16.53 kB / 430.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005539/0.2433, allocations: 419 kB / 431.2 MB, free: 9.898 MB / 302.1 MB Notification: Performance of pre-optimization done (n=61): time 2.104e-06/0.2433, allocations: 0 / 431.2 MB, free: 9.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.006875/0.2502, allocations: 2.092 MB / 433.3 MB, free: 7.777 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.2502, allocations: 85.67 kB / 433.4 MB, free: 7.676 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.2505, allocations: 290.8 kB / 433.6 MB, free: 7.383 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.134e-05/0.2505, allocations: 41.7 kB / 433.7 MB, free: 7.336 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.323e-05/0.2506, allocations: 177.5 kB / 433.9 MB, free: 7.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.2508, allocations: 201 kB / 434.1 MB, free: 6.961 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.109e-05/0.2509, allocations: 65.69 kB / 434.1 MB, free: 6.891 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.209e-05/0.2509, allocations: 350.8 kB / 434.5 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004438/0.2514, allocations: 337.9 kB / 434.8 MB, free: 6.211 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004673/0.2518, allocations: 413.9 kB / 435.2 MB, free: 5.793 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009641/0.2528, allocations: 0.7539 MB / 435.9 MB, free: 5.031 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2528, allocations: 0 / 435.9 MB, free: 5.031 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003151/0.256, allocations: 1.36 MB / 437.3 MB, free: 3.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.256, allocations: 8 kB / 437.3 MB, free: 3.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.256, allocations: 3.984 kB / 437.3 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003518/0.2596, allocations: 0.6739 MB / 438 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006773/0.2603, allocations: 103.8 kB / 438.1 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006624/0.2669, allocations: 4.001 MB / 442.1 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005198/0.2675, allocations: 63.36 kB / 442.2 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.596e-05/0.2675, allocations: 24 kB / 442.2 MB, free: 14.66 MB / 318.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.0002418/0.2678, allocations: 169.7 kB / 442.3 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.626e-05/0.2679, allocations: 47.41 kB / 442.4 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003675/0.2716, allocations: 1.327 MB / 443.7 MB, free: 13.1 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.2716, allocations: 11.94 kB / 443.7 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.2716, allocations: 4 kB / 443.7 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.2716, allocations: 3.984 kB / 443.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00435/0.276, allocations: 2.032 MB / 445.8 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.276, allocations: 3.984 kB / 445.8 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.2763, allocations: 75.91 kB / 445.8 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00347/0.2798, allocations: 0.679 MB / 446.5 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-05/0.2799, allocations: 19.92 kB / 446.5 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006892/0.2868, allocations: 3.939 MB / 450.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2868, allocations: 0 / 450.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003566/0.2904, allocations: 1.339 MB / 451.8 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.2906, allocations: 128.3 kB / 451.9 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.631e-05/0.2906, allocations: 19.94 kB / 452 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/0.2911, allocations: 35.86 kB / 452 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.2912, allocations: 56.42 kB / 452.1 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.657e-05/0.2913, allocations: 16 kB / 452.1 MB, free: 4.512 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002161/0.2915, allocations: 201.9 kB / 452.3 MB, free: 4.312 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2915, allocations: 0 / 452.3 MB, free: 4.312 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008097/0.2923, allocations: 211.8 kB / 452.5 MB, free: 4.105 MB / 318.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.0002675/0.2926, allocations: 127.2 kB / 452.6 MB, free: 3.973 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002456/0.2951, allocations: 1.147 MB / 453.7 MB, free: 2.812 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.2951, allocations: 3.938 kB / 453.8 MB, free: 2.809 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001655/0.2968, allocations: 0.7204 MB / 454.5 MB, free: 2.074 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.2972, allocations: 44.66 kB / 454.5 MB, free: 2.031 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.2989, allocations: 1.119 MB / 455.6 MB, free: 0.875 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.2993, allocations: 0.83 MB / 456.5 MB, free: 20 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.2995, allocations: 43.58 kB / 456.5 MB, free: 15.97 MB / 334.1 MB Notification: Performance of SimCode: time 6.72e-07/0.2995, allocations: 0 / 456.5 MB, free: 15.97 MB / 334.1 MB Notification: Performance of Templates: time 0.01253/0.312, allocations: 8.691 MB / 465.2 MB, free: 7.289 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.makefile (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 & ./PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe 2>&1)