Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.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.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",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.001142/0.001142, allocations: 106.5 kB / 16.31 MB, free: 6.391 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.001298/0.001299, allocations: 191.2 kB / 17.24 MB, free: 5.922 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05047/0.05047, allocations: 8.1 MB / 299.2 MB, free: 6.738 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 75.83 kB / 361.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2111, allocations: 51.51 MB / 413.4 MB, free: 25.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.003769/0.2149, allocations: 4.104 MB / 417.5 MB, free: 21.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.2164, allocations: 1.084 MB / 418.5 MB, free: 20.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.2166, allocations: 8 kB / 418.6 MB, free: 20.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004223/0.217, allocations: 194.8 kB / 418.7 MB, free: 20.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005574/0.2176, allocations: 306 kB / 419 MB, free: 19.77 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.001861/0.2195, allocations: 1.256 MB / 420.3 MB, free: 18.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005445/0.2201, allocations: 0.6065 MB / 420.9 MB, free: 17.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002441/0.2203, allocations: 225.3 kB / 421.1 MB, free: 17.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.2205, allocations: 255.1 kB / 421.4 MB, free: 17.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.2208, allocations: 342.6 kB / 421.7 MB, free: 17.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.847e-05/0.2208, allocations: 52 kB / 421.8 MB, free: 17.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003841/0.2212, allocations: 287.7 kB / 422 MB, free: 16.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.178e-05/0.2213, allocations: 127.5 kB / 422.2 MB, free: 16.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.2215, allocations: 294.5 kB / 422.5 MB, free: 16.35 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005805/0.2221, allocations: 0.7827 MB / 423.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2221, allocations: 0 / 423.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2221, allocations: 0 / 423.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.2221, allocations: 0 / 423.2 MB, free: 15.56 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.005243/0.2274, allocations: 1.63 MB / 424.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2274, allocations: 19.81 kB / 424.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.143e-05/0.2275, allocations: 82.72 kB / 425 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.2276, allocations: 68.19 kB / 425 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.228, allocations: 399.8 kB / 425.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.2281, allocations: 67.45 kB / 425.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.561e-05/0.2282, allocations: 52.38 kB / 425.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008241/0.229, allocations: 0.6894 MB / 426.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.229, allocations: 0 / 426.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-05/0.2291, allocations: 20 kB / 426.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.2291, allocations: 8 kB / 426.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007641/0.2299, allocations: 0.6481 MB / 426.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002544/0.2324, allocations: 2.713 MB / 429.6 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.2336, allocations: 1.05 MB / 430.7 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004878/0.2341, allocations: 454.7 kB / 431.1 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.271e-05/0.2342, allocations: 28.61 kB / 431.1 MB, free: 7.203 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006619/0.2348, allocations: 0.5002 MB / 431.6 MB, free: 6.691 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.635e-06/0.2348, allocations: 0 / 431.6 MB, free: 6.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.007957/0.2428, allocations: 2.638 MB / 434.3 MB, free: 4.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.2429, allocations: 93.64 kB / 434.4 MB, free: 3.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/0.2432, allocations: 341.5 kB / 434.7 MB, free: 3.566 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.291e-05/0.2433, allocations: 45.7 kB / 434.7 MB, free: 3.516 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.52e-05/0.2433, allocations: 193.3 kB / 434.9 MB, free: 3.324 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.2435, allocations: 256.2 kB / 435.2 MB, free: 3.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/0.2437, allocations: 146.6 kB / 435.3 MB, free: 2.922 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.919e-05/0.2438, allocations: 358.8 kB / 435.7 MB, free: 2.562 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005099/0.2443, allocations: 417.9 kB / 436.1 MB, free: 2.152 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/0.2449, allocations: 0.4904 MB / 436.6 MB, free: 1.652 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.2459, allocations: 0.9327 MB / 437.5 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.246, allocations: 3.938 kB / 437.5 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.004016/0.25, allocations: 1.723 MB / 439.2 MB, free: 14.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.25, allocations: 8 kB / 439.2 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.25, allocations: 4 kB / 439.2 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004254/0.2543, allocations: 1.078 MB / 440.3 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004867/0.2548, allocations: 123.8 kB / 440.4 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009204/0.264, allocations: 5.332 MB / 445.8 MB, free: 8.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000593/0.2646, allocations: 75.16 kB / 445.9 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/0.2647, allocations: 27.98 kB / 445.9 MB, free: 8.195 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 (74): * Single equations (assignments): 73 * 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 {(14,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002693/0.265, allocations: 181.8 kB / 446.1 MB, free: 8.008 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.2651, allocations: 55.28 kB / 446.1 MB, free: 7.953 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004433/0.2695, allocations: 1.722 MB / 447.8 MB, free: 6.219 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.2696, allocations: 8 kB / 447.8 MB, free: 6.211 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2696, allocations: 3.938 kB / 447.8 MB, free: 6.207 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.2696, allocations: 3.984 kB / 447.8 MB, free: 6.203 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005208/0.2748, allocations: 2.529 MB / 450.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.2748, allocations: 0 / 450.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/0.2752, allocations: 95.83 kB / 450.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00401/0.2792, allocations: 0.9612 MB / 451.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-05/0.2793, allocations: 19.98 kB / 451.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009282/0.2886, allocations: 5.267 MB / 456.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2886, allocations: 0 / 456.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004351/0.293, allocations: 1.686 MB / 458.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.2932, allocations: 148.2 kB / 458.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.966e-05/0.2933, allocations: 12 kB / 458.6 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005089/0.2938, allocations: 31.98 kB / 458.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/0.294, allocations: 64.91 kB / 458.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.811e-05/0.2941, allocations: 27.98 kB / 458.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002996/0.2944, allocations: 239.2 kB / 458.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2944, allocations: 0 / 458.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008696/0.2953, allocations: 255.8 kB / 459.2 MB, free: 10.63 MB / 334.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 (59): * Single equations (assignments): 58 * 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 {(14,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004735/0.3, allocations: 2.266 MB / 461.4 MB, free: 8.332 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004035/0.3041, allocations: 1.526 MB / 463 MB, free: 6.797 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.3041, allocations: 0 / 463 MB, free: 6.797 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002454/0.3066, allocations: 0.977 MB / 463.9 MB, free: 5.809 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006484/0.3072, allocations: 65.36 kB / 464 MB, free: 5.746 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/0.3204, allocations: 6.951 MB / 471 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.3208, allocations: 0.8698 MB / 471.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002944/0.3212, allocations: 76.3 kB / 471.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/0.3214, allocations: 191.4 kB / 472.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3214, allocations: 0 / 472.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04698/0.3684, allocations: 20.45 MB / 492.5 MB, free: 9.199 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.87, allocations: 12.62 kB / 492.5 MB, free: 9.188 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe 2>&1)