Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",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.001335/0.001335, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001279/0.001279, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.4 MB / 222.1 MB, free: 5.91 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05837/0.05837, allocations: 14.17 MB / 284.5 MB, free: 7.383 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000512/0.000512, allocations: 24.16 kB / 346.2 MB, free: 19.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1036, allocations: 51.13 MB / 397.4 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine): time 0.005987/0.1096, allocations: 5.985 MB / 403.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005573/0.1152, allocations: 3.214 MB / 406.6 MB, free: 7.461 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007296/0.116, allocations: 15.94 kB / 406.6 MB, free: 7.445 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008763/0.1169, allocations: 306.4 kB / 406.9 MB, free: 7.145 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003376/0.1203, allocations: 1.339 MB / 408.2 MB, free: 5.809 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008981/0.1212, allocations: 486.2 kB / 408.7 MB, free: 5.336 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002443/0.1236, allocations: 1.321 MB / 410 MB, free: 4.016 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002488/0.1239, allocations: 118.4 kB / 410.1 MB, free: 3.891 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007959/0.1247, allocations: 0.506 MB / 410.6 MB, free: 3.383 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005382/0.1253, allocations: 494.1 kB / 411.1 MB, free: 2.898 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.369e-05/0.1253, allocations: 28 kB / 411.1 MB, free: 2.871 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009118/0.1262, allocations: 343.6 kB / 411.5 MB, free: 2.535 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.1264, allocations: 103.5 kB / 411.6 MB, free: 2.434 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001965/0.1266, allocations: 217.2 kB / 411.8 MB, free: 2.215 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.1277, allocations: 1.002 MB / 412.8 MB, free: 1.211 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1277, allocations: 0 / 412.8 MB, free: 1.211 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1278, allocations: 0 / 412.8 MB, free: 1.211 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.1278, allocations: 4 kB / 412.8 MB, free: 1.207 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004722/0.1325, allocations: 1.516 MB / 414.3 MB, free: 15.64 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.1326, allocations: 16.02 kB / 414.3 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001998/0.1328, allocations: 118.6 kB / 414.4 MB, free: 15.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005715/0.1334, allocations: 146.7 kB / 414.6 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.1346, allocations: 0.6326 MB / 415.2 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.589e-05/0.1347, allocations: 54 kB / 415.3 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.1348, allocations: 72 kB / 415.3 MB, free: 14.56 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.136, allocations: 0.7386 MB / 416.1 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.136, allocations: 0 / 416.1 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.738e-05/0.1361, allocations: 36 kB / 416.1 MB, free: 13.76 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.1361, allocations: 16 kB / 416.1 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.1373, allocations: 0.73 MB / 416.9 MB, free: 13.02 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004948/0.1422, allocations: 4.401 MB / 421.3 MB, free: 8.105 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/0.1442, allocations: 1.17 MB / 422.4 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.226e-05/0.1443, allocations: 16.64 kB / 422.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.1443, allocations: 47.2 kB / 422.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of pre-optimization done (n=82): time 2.765e-06/0.1443, allocations: 0 / 422.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=82): time 0.002864/0.1472, allocations: 1.257 MB / 423.7 MB, free: 5.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.1472, allocations: 60.06 kB / 423.8 MB, free: 5.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005512/0.1478, allocations: 483 kB / 424.3 MB, free: 4.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.1479, allocations: 37.7 kB / 424.3 MB, free: 4.906 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003018/0.1482, allocations: 360 kB / 424.7 MB, free: 4.547 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/0.1484, allocations: 283.8 kB / 424.9 MB, free: 4.266 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.1485, allocations: 16 kB / 425 MB, free: 4.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.1487, allocations: 378.7 kB / 425.3 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.149, allocations: 217.9 kB / 425.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004326/0.1495, allocations: 308.8 kB / 425.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004491/0.1499, allocations: 275 kB / 426.1 MB, free: 3.066 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1499, allocations: 0 / 426.1 MB, free: 3.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001441/0.1514, allocations: 0.8488 MB / 427 MB, free: 2.207 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.1514, allocations: 4 kB / 427 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.1514, allocations: 4 kB / 427 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005795/0.152, allocations: 180.8 kB / 427.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007699/0.1528, allocations: 191.8 kB / 427.3 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2352/0.3881, allocations: 2.373 MB / 429.7 MB, free: 35.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007837/0.3889, allocations: 50.67 kB / 429.8 MB, free: 35.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.731e-05/0.3889, allocations: 25.5 kB / 429.8 MB, free: 35.15 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004148/0.3894, allocations: 216.7 kB / 430 MB, free: 35.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.3895, allocations: 79 kB / 430.1 MB, free: 35.04 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.3911, allocations: 0.8297 MB / 430.9 MB, free: 34.97 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.3911, allocations: 8.438 kB / 430.9 MB, free: 34.97 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.3911, allocations: 4.812 kB / 430.9 MB, free: 34.97 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.3911, allocations: 5.875 kB / 430.9 MB, free: 34.97 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003064/0.3942, allocations: 1.887 MB / 432.8 MB, free: 34.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3942, allocations: 0.7656 kB / 432.8 MB, free: 34.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007605/0.395, allocations: 168 kB / 433 MB, free: 34.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005798/0.3956, allocations: 167.4 kB / 433.1 MB, free: 34.37 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.3956, allocations: 15.83 kB / 433.1 MB, free: 34.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002864/0.3985, allocations: 2.379 MB / 435.5 MB, free: 32.59 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3985, allocations: 1.125 kB / 435.5 MB, free: 32.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/0.4, allocations: 0.8771 MB / 436.4 MB, free: 32.13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/0.4003, allocations: 201.8 kB / 436.6 MB, free: 31.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.522e-05/0.4004, allocations: 14.75 kB / 436.6 MB, free: 31.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/0.4008, allocations: 35.89 kB / 436.6 MB, free: 31.94 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.401, allocations: 51.95 kB / 436.7 MB, free: 31.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.401, allocations: 21.09 kB / 436.7 MB, free: 31.92 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005063/0.4015, allocations: 337 kB / 437 MB, free: 31.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4015, allocations: 0 / 437 MB, free: 31.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001142/0.4027, allocations: 278.5 kB / 437.3 MB, free: 31.73 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001786/0.4045, allocations: 1.489 MB / 438.8 MB, free: 30.73 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001914/0.4064, allocations: 0.8194 MB / 439.6 MB, free: 30.35 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4064, allocations: 0 / 439.6 MB, free: 30.35 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008653/0.4073, allocations: 0.531 MB / 440.2 MB, free: 30.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005278/0.4078, allocations: 75.09 kB / 440.2 MB, free: 30.03 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006804/0.4146, allocations: 4.75 MB / 445 MB, free: 27.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005942/0.4153, allocations: 0.9586 MB / 445.9 MB, free: 26.38 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004864/0.4158, allocations: 94.14 kB / 446 MB, free: 26.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/0.4161, allocations: 268.3 kB / 446.3 MB, free: 26.15 MB / 318.1 MB Notification: Performance of SimCode: time 2.113e-06/0.4162, allocations: 0 / 446.3 MB, free: 26.15 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03273/0.4489, allocations: 14.11 MB / 460.4 MB, free: 17.82 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/0.4492, allocations: 218.1 kB / 460.6 MB, free: 17.57 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.181/2.63, allocations: 0 / 460.6 MB, free: 17.57 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe 2>&1) Environment - environmentSimulation: