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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008952/0.0008953, allocations: 103 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009997/0.0009997, allocations: 178.7 kB / 16.97 MB, free: 6.875 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.33/1.33, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1605/0.1605, allocations: 8.086 MB / 300.2 MB, free: 2.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003231, allocations: 8 kB / 363.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09536/0.0957, allocations: 52.51 MB / 416.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.003459/0.09919, allocations: 3.236 MB / 419.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.1011, allocations: 0.9575 MB / 420.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.1013, allocations: 8 kB / 420.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000441/0.1017, allocations: 143.3 kB / 420.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006337/0.1024, allocations: 222.8 kB / 420.7 MB, free: 3.699 MB / 350.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.002113/0.1045, allocations: 1.187 MB / 421.9 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005449/0.1051, allocations: 477.6 kB / 422.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002223/0.1053, allocations: 137 kB / 422.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.1055, allocations: 179.3 kB / 422.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.1058, allocations: 246.9 kB / 422.9 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.728e-05/0.1058, allocations: 24 kB / 422.9 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004723/0.1063, allocations: 259.7 kB / 423.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.736e-05/0.1064, allocations: 75.66 kB / 423.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.1066, allocations: 240.5 kB / 423.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006906/0.1073, allocations: 0.6346 MB / 424.1 MB, free: 268 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1073, allocations: 0 / 424.1 MB, free: 268 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1073, allocations: 0 / 424.1 MB, free: 268 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1073, allocations: 3.938 kB / 424.1 MB, free: 264 kB / 350.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.1638/0.2711, allocations: 1.294 MB / 425.4 MB, free: 41.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2712, allocations: 8.688 kB / 425.4 MB, free: 41.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.933e-05/0.2713, allocations: 75.2 kB / 425.5 MB, free: 41.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.2714, allocations: 55.3 kB / 425.5 MB, free: 41.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.2718, allocations: 354.1 kB / 425.9 MB, free: 41.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.925e-05/0.2718, allocations: 61.45 kB / 425.9 MB, free: 41.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.2719, allocations: 36.66 kB / 426 MB, free: 41.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007606/0.2727, allocations: 0.5715 MB / 426.5 MB, free: 41.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.2727, allocations: 3.062 kB / 426.5 MB, free: 41.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.865e-05/0.2727, allocations: 14 kB / 426.6 MB, free: 41.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.2728, allocations: 9.438 kB / 426.6 MB, free: 41.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006732/0.2734, allocations: 0.5211 MB / 427.1 MB, free: 41.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.2756, allocations: 2.243 MB / 429.3 MB, free: 39.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009568/0.2766, allocations: 0.746 MB / 430.1 MB, free: 39.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004164/0.277, allocations: 363.2 kB / 430.4 MB, free: 39.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.634e-05/0.2771, allocations: 16.84 kB / 430.4 MB, free: 39.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006212/0.2777, allocations: 412.8 kB / 430.8 MB, free: 39.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 2.504e-06/0.2777, allocations: 0 / 430.8 MB, free: 39.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.006611/0.2844, allocations: 2.11 MB / 433 MB, free: 39.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.2844, allocations: 83.89 kB / 433 MB, free: 39.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.2847, allocations: 281.1 kB / 433.3 MB, free: 39.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.77e-05/0.2847, allocations: 42.86 kB / 433.4 MB, free: 39.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.959e-05/0.2848, allocations: 173.6 kB / 433.5 MB, free: 39.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.285, allocations: 210 kB / 433.7 MB, free: 38.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.573e-05/0.285, allocations: 67.23 kB / 433.8 MB, free: 38.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.379e-05/0.2851, allocations: 343.3 kB / 434.1 MB, free: 38.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004187/0.2855, allocations: 343.3 kB / 434.5 MB, free: 38.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/0.286, allocations: 407.8 kB / 434.9 MB, free: 38.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008953/0.2869, allocations: 0.7581 MB / 435.6 MB, free: 37.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2869, allocations: 4.031 kB / 435.6 MB, free: 37.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002947/0.2898, allocations: 1.361 MB / 437 MB, free: 37.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2899, allocations: 6.406 kB / 437 MB, free: 37.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2899, allocations: 3.094 kB / 437 MB, free: 37.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002867/0.2928, allocations: 0.684 MB / 437.7 MB, free: 37.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.2931, allocations: 105.3 kB / 437.8 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005711/0.2988, allocations: 3.979 MB / 441.8 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005163/0.2994, allocations: 62.22 kB / 441.8 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/0.2994, allocations: 19.78 kB / 441.8 MB, free: 34.42 MB / 350.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.0002115/0.2997, allocations: 179.3 kB / 442 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.806e-05/0.2997, allocations: 45.44 kB / 442.1 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003161/0.3029, allocations: 1.338 MB / 443.4 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.3029, allocations: 11.69 kB / 443.4 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3029, allocations: 3.094 kB / 443.4 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3029, allocations: 3.516 kB / 443.4 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003534/0.3065, allocations: 2.033 MB / 445.4 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.3065, allocations: 0 / 445.4 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.3068, allocations: 78.02 kB / 445.5 MB, free: 32.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002792/0.3096, allocations: 0.6821 MB / 446.2 MB, free: 32.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.845e-05/0.3096, allocations: 15.16 kB / 446.2 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005304/0.3149, allocations: 3.933 MB / 450.2 MB, free: 29.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3149, allocations: 0 / 450.2 MB, free: 29.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00288/0.3178, allocations: 1.342 MB / 451.5 MB, free: 29.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.3179, allocations: 121 kB / 451.6 MB, free: 29.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.029e-05/0.318, allocations: 15.41 kB / 451.6 MB, free: 29.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/0.3184, allocations: 35.94 kB / 451.7 MB, free: 29.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.3185, allocations: 48.84 kB / 451.7 MB, free: 29.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.295e-05/0.3186, allocations: 25.12 kB / 451.7 MB, free: 29.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.3187, allocations: 192.1 kB / 451.9 MB, free: 28.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3187, allocations: 0 / 451.9 MB, free: 28.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006066/0.3193, allocations: 215.2 kB / 452.1 MB, free: 28.92 MB / 350.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.003081/0.3224, allocations: 1.909 MB / 454 MB, free: 27.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002102/0.3245, allocations: 1.14 MB / 455.2 MB, free: 27.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3246, allocations: 2.875 kB / 455.2 MB, free: 27.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.326, allocations: 0.7304 MB / 455.9 MB, free: 26.87 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.3264, allocations: 47.34 kB / 456 MB, free: 26.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008926/0.3353, allocations: 5.88 MB / 461.8 MB, free: 23.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.3357, allocations: 0.8309 MB / 462.7 MB, free: 22.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002309/0.3359, allocations: 60.91 kB / 462.7 MB, free: 22.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.3361, allocations: 149.2 kB / 462.9 MB, free: 22.75 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3361, allocations: 0 / 462.9 MB, free: 22.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03285/0.3689, allocations: 15.37 MB / 478.2 MB, free: 20.04 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/0.3692, allocations: 218.3 kB / 478.5 MB, free: 19.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.261, allocations: 11.56 kB / 478.5 MB, free: 19.77 MB / 350.1 MB (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 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe 2>&1)