Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_symb_jac_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.001111/0.001111, allocations: 97.52 kB / 15.69 MB, free: 480 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.001408/0.001408, allocations: 178 kB / 16.57 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06057/0.06057, allocations: 14.16 MB / 285.2 MB, free: 7.16 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.0005648/0.0005648, allocations: 12.22 kB / 346.9 MB, free: 19.82 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1402, allocations: 51.12 MB / 398 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine): time 0.006802/0.147, allocations: 5.978 MB / 404 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005521/0.1526, allocations: 3.21 MB / 407.2 MB, free: 7.438 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000566/0.1532, allocations: 19.94 kB / 407.2 MB, free: 7.418 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008705/0.1541, allocations: 310.4 kB / 407.5 MB, free: 7.113 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003298/0.1574, allocations: 1.351 MB / 408.8 MB, free: 5.766 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008937/0.1583, allocations: 488.8 kB / 409.3 MB, free: 5.289 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002473/0.1608, allocations: 1.302 MB / 410.6 MB, free: 3.988 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002568/0.1611, allocations: 110.4 kB / 410.7 MB, free: 3.871 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008194/0.1619, allocations: 0.5099 MB / 411.2 MB, free: 3.359 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005937/0.1625, allocations: 498.1 kB / 411.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.965e-05/0.1626, allocations: 28 kB / 411.8 MB, free: 2.844 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009654/0.1635, allocations: 331.6 kB / 412.1 MB, free: 2.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.1637, allocations: 115.4 kB / 412.2 MB, free: 2.406 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.1639, allocations: 205.2 kB / 412.4 MB, free: 2.199 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.1651, allocations: 1.009 MB / 413.4 MB, free: 1.188 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1651, allocations: 0 / 413.4 MB, free: 1.188 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1651, allocations: 0 / 413.4 MB, free: 1.188 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.1651, allocations: 0 / 413.4 MB, free: 1.188 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.004748/0.1698, allocations: 1.512 MB / 414.9 MB, free: 15.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/0.1699, allocations: 16.02 kB / 414.9 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001769/0.1701, allocations: 122.6 kB / 415.1 MB, free: 15.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005809/0.1707, allocations: 150.7 kB / 415.2 MB, free: 15.33 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.1719, allocations: 0.6287 MB / 415.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/0.1719, allocations: 58 kB / 415.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.785e-05/0.172, allocations: 72 kB / 416 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.1733, allocations: 0.7425 MB / 416.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.1733, allocations: 4 kB / 416.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.554e-05/0.1734, allocations: 28 kB / 416.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.1735, allocations: 20 kB / 416.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.1746, allocations: 0.7261 MB / 417.5 MB, free: 12.99 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.005278/0.1799, allocations: 4.413 MB / 421.9 MB, free: 8.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/0.1819, allocations: 1.17 MB / 423.1 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.16e-05/0.182, allocations: 8.656 kB / 423.1 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.1821, allocations: 47.2 kB / 423.1 MB, free: 6.758 MB / 318.1 MB Notification: Performance of pre-optimization done (n=82): time 3.276e-06/0.1821, allocations: 0 / 423.1 MB, free: 6.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=82): time 0.002877/0.185, allocations: 1.241 MB / 424.4 MB, free: 5.488 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.185, allocations: 68.06 kB / 424.4 MB, free: 5.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005753/0.1856, allocations: 491 kB / 424.9 MB, free: 4.922 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.1857, allocations: 41.7 kB / 424.9 MB, free: 4.875 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.186, allocations: 348 kB / 425.3 MB, free: 4.527 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.1862, allocations: 287.8 kB / 425.6 MB, free: 4.242 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.1863, allocations: 16 kB / 425.6 MB, free: 4.227 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.1865, allocations: 378.7 kB / 425.9 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.1868, allocations: 221.9 kB / 426.2 MB, free: 3.629 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004503/0.1873, allocations: 308.8 kB / 426.5 MB, free: 3.305 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.1878, allocations: 271 kB / 426.7 MB, free: 3.043 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1878, allocations: 8 kB / 426.7 MB, free: 3.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00147/0.1893, allocations: 0.8371 MB / 427.6 MB, free: 2.188 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.1893, allocations: 8 kB / 427.6 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.046e-06/0.1893, allocations: 0 / 427.6 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005972/0.1899, allocations: 188.2 kB / 427.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007981/0.1907, allocations: 191.8 kB / 428 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2797/0.4704, allocations: 2.368 MB / 430.3 MB, free: 34.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000824/0.4713, allocations: 56.5 kB / 430.4 MB, free: 34.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/0.4714, allocations: 25.97 kB / 430.4 MB, free: 34.88 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.0004522/0.4718, allocations: 223.6 kB / 430.6 MB, free: 34.76 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.472, allocations: 72.94 kB / 430.7 MB, free: 34.76 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/0.4737, allocations: 0.8262 MB / 431.5 MB, free: 34.7 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.4737, allocations: 8.766 kB / 431.5 MB, free: 34.7 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.4737, allocations: 2.75 kB / 431.5 MB, free: 34.7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.4737, allocations: 7.688 kB / 431.5 MB, free: 34.7 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003219/0.477, allocations: 1.886 MB / 433.4 MB, free: 34.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.477, allocations: 2.672 kB / 433.4 MB, free: 34.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000726/0.4777, allocations: 167.1 kB / 433.6 MB, free: 34.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005476/0.4783, allocations: 173.3 kB / 433.8 MB, free: 34.1 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.744e-05/0.4783, allocations: 13.2 kB / 433.8 MB, free: 34.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00301/0.4813, allocations: 2.381 MB / 436.2 MB, free: 32.28 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.4814, allocations: 0.5625 kB / 436.2 MB, free: 32.28 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002465/0.4838, allocations: 1.823 MB / 438 MB, free: 31.05 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003551/0.4842, allocations: 203.8 kB / 438.2 MB, free: 30.88 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.158e-05/0.4843, allocations: 16.28 kB / 438.2 MB, free: 30.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004065/0.4847, allocations: 40 kB / 438.2 MB, free: 30.85 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.4849, allocations: 53.69 kB / 438.3 MB, free: 30.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/0.4849, allocations: 17.72 kB / 438.3 MB, free: 30.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005004/0.4854, allocations: 337 kB / 438.6 MB, free: 30.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4854, allocations: 0 / 438.6 MB, free: 30.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0014/0.4868, allocations: 278 kB / 438.9 MB, free: 30.64 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.001901/0.4887, allocations: 1.499 MB / 440.4 MB, free: 29.63 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.4904, allocations: 0.8177 MB / 441.2 MB, free: 29.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4905, allocations: 0 / 441.2 MB, free: 29.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008003/0.4913, allocations: 0.5339 MB / 441.8 MB, free: 28.97 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005185/0.4918, allocations: 71.48 kB / 441.8 MB, free: 28.94 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.007477/0.4993, allocations: 5.185 MB / 447 MB, free: 25.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006575/0.5, allocations: 0.9724 MB / 448 MB, free: 24.95 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005045/0.5005, allocations: 93.25 kB / 448.1 MB, free: 24.92 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/0.5009, allocations: 268.4 kB / 448.3 MB, free: 24.72 MB / 318.1 MB Notification: Performance of SimCode: time 1.203e-06/0.5009, allocations: 0 / 448.3 MB, free: 24.72 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02936/0.5302, allocations: 14.14 MB / 462.5 MB, free: 16.1 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/0.5305, allocations: 220.9 kB / 462.7 MB, free: 15.86 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.097/2.627, allocations: 3.938 kB / 462.7 MB, free: 15.86 MB / 318.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine.fmu > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe 2>&1) Environment - environmentSimulation: