Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001224/0.001224, allocations: 180.3 kB / 8.353 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.605/1.605, allocations: 194.3 MB / 203.1 MB, free: 13.04 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001732/0.001732, allocations: 120.6 kB / 248.1 MB, free: 24 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1711/0.1711, allocations: 37.93 MB / 330.9 MB, free: 2.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.338e-05/2.331e-05, allocations: 4 kB / 390.5 MB, free: 6.996 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3413, allocations: 53.22 MB / 443.7 MB, free: 17.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1265/0.4679, allocations: 92.88 MB / 0.524 GB, free: 4.672 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.4682, allocations: 91.94 kB / 0.5241 GB, free: 4.582 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3079/0.7761, allocations: 9.98 MB / 0.5338 GB, free: 89.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.7762, allocations: 0 / 0.5338 GB, free: 89.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.912e-05/0.7762, allocations: 12.66 kB / 0.5338 GB, free: 89.85 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001787/0.778, allocations: 0.72 MB / 0.5345 GB, free: 89.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.416e-05/0.7781, allocations: 17.59 kB / 0.5346 GB, free: 89.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.7783, allocations: 53.41 kB / 0.5346 GB, free: 89.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003241/0.7816, allocations: 0.8647 MB / 0.5355 GB, free: 88.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.877e-05/0.7816, allocations: 16.75 kB / 0.5355 GB, free: 88.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.503e-05/0.7818, allocations: 26.02 kB / 0.5355 GB, free: 88.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009055/0.7827, allocations: 322.2 kB / 0.5358 GB, free: 88.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009901/0.7837, allocations: 424.7 kB / 0.5362 GB, free: 88.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.7837, allocations: 0 / 0.5362 GB, free: 88.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.535e-05/0.7838, allocations: 1.406 kB / 0.5362 GB, free: 88.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.7838, allocations: 9.344 kB / 0.5362 GB, free: 88.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002964/0.7868, allocations: 1.631 MB / 0.5378 GB, free: 87.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006407/0.7874, allocations: 300.7 kB / 0.5381 GB, free: 87.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006121/0.7881, allocations: 211.1 kB / 0.5383 GB, free: 87.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.7881, allocations: 4.5 kB / 0.5383 GB, free: 87.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004665/0.7886, allocations: 266.3 kB / 0.5386 GB, free: 87.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 3.296e-06/0.7886, allocations: 0 / 0.5386 GB, free: 87.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002135/0.7908, allocations: 0.9055 MB / 0.5394 GB, free: 86.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.523e-05/0.7908, allocations: 144.4 kB / 0.5396 GB, free: 86.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004735/0.7913, allocations: 304.8 kB / 0.5399 GB, free: 86.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.7914, allocations: 25.7 kB / 0.5399 GB, free: 86.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.7916, allocations: 261.7 kB / 0.5401 GB, free: 85.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.7917, allocations: 111.4 kB / 0.5402 GB, free: 85.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.7918, allocations: 0 / 0.5402 GB, free: 85.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.7919, allocations: 353.2 kB / 0.5406 GB, free: 85.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.7922, allocations: 118.5 kB / 0.5407 GB, free: 85.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003361/0.7925, allocations: 235.7 kB / 0.5409 GB, free: 85.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.7928, allocations: 150.7 kB / 0.5411 GB, free: 85.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.7929, allocations: 3.844 kB / 0.5411 GB, free: 85.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001025/0.7939, allocations: 463.1 kB / 0.5415 GB, free: 85.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.794, allocations: 34.23 kB / 0.5415 GB, free: 84.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.794, allocations: 3.969 kB / 0.5415 GB, free: 84.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000332/0.7943, allocations: 72.55 kB / 0.5416 GB, free: 84.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/0.7947, allocations: 76.12 kB / 0.5417 GB, free: 84.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.7968, allocations: 2.651 MB / 0.5443 GB, free: 82.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004375/0.7973, allocations: 23.31 kB / 0.5443 GB, free: 82.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.7974, allocations: 20.59 kB / 0.5443 GB, free: 82.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 18 (system.initime,$whenCondition1,$PRE.relay.cnt,relay.cnt,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.relay.y[1],relay.y[1],$PRE.breaker.breaker_1.arc,breaker.breaker_1.arc,$PRE.breaker.breaker_1.open,breaker.breaker_1.open,breaker.breaker_1.closed,$PRE.breaker.breaker_1.t0,breaker.breaker_1.t0,breaker.breaker_1.opening) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001715/0.7975, allocations: 158.4 kB / 0.5445 GB, free: 82.24 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008673/0.7984, allocations: 392.9 kB / 0.5448 GB, free: 82.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.12e-05/0.7985, allocations: 38.94 kB / 0.5449 GB, free: 82.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009662/0.7995, allocations: 423.1 kB / 0.5453 GB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.7995, allocations: 3.844 kB / 0.5453 GB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.7995, allocations: 0 / 0.5453 GB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.7996, allocations: 0 / 0.5453 GB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.8013, allocations: 0.9038 MB / 0.5462 GB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.8013, allocations: 0 / 0.5462 GB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.8016, allocations: 42.45 kB / 0.5462 GB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002946/0.8019, allocations: 78.92 kB / 0.5463 GB, free: 81.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/0.8019, allocations: 3.906 kB / 0.5463 GB, free: 81.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/0.8039, allocations: 2.673 MB / 0.5489 GB, free: 78.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.8039, allocations: 0 / 0.5489 GB, free: 78.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.805, allocations: 0.7097 MB / 0.5496 GB, free: 77.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.8051, allocations: 112.6 kB / 0.5497 GB, free: 77.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.081e-05/0.8052, allocations: 8 kB / 0.5497 GB, free: 77.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.8056, allocations: 15.98 kB / 0.5497 GB, free: 77.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.8057, allocations: 35.88 kB / 0.5498 GB, free: 77.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/0.8058, allocations: 16.06 kB / 0.5498 GB, free: 77.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003402/0.8061, allocations: 236.6 kB / 0.55 GB, free: 77.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.8062, allocations: 0 / 0.55 GB, free: 77.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001077/0.8072, allocations: 112 kB / 0.5501 GB, free: 77.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 13 (breaker.breaker_1.closed,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,relay.y[1],relay.cnt,breaker.breaker_1.arc,breaker.breaker_1.open,breaker.breaker_1.t0,breaker.breaker_1.opening,system.initime) * Number of discrete states: 5 (breaker.breaker_1.arc,relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_1.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001746/0.809, allocations: 1.379 MB / 0.5515 GB, free: 76.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.8102, allocations: 0.5946 MB / 0.552 GB, free: 75.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.8102, allocations: 0 / 0.552 GB, free: 75.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007122/0.8109, allocations: 459.3 kB / 0.5525 GB, free: 74.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007347/0.8117, allocations: 74.56 kB / 0.5525 GB, free: 74.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.8139, allocations: 0.8267 MB / 0.5534 GB, free: 73.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.8144, allocations: 0.8743 MB / 0.5542 GB, free: 73.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003843/0.8148, allocations: 71.36 kB / 0.5543 GB, free: 72.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.8151, allocations: 151.4 kB / 0.5544 GB, free: 72.84 MB / 378.7 MB Notification: Performance of SimCode: time 8.52e-07/0.8151, allocations: 0 / 0.5544 GB, free: 72.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03466/0.8497, allocations: 8.243 MB / 0.5625 GB, free: 64.6 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/0.85, allocations: 130.7 kB / 0.5626 GB, free: 64.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.172/3.022, allocations: 0 / 0.5626 GB, free: 64.41 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1)