Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.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.OneBusImpedanceVariableVoltageOneLoad,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad",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.001135/0.001135, allocations: 88.17 kB / 15.71 MB, free: 452 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.002119/0.002119, allocations: 178.5 kB / 16.59 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.796/1.796, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06115/0.06115, allocations: 14.17 MB / 285.2 MB, free: 7.137 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.0004931/0.0004931, allocations: 12 kB / 346.9 MB, free: 19.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1157, allocations: 51.12 MB / 398 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad): time 0.005519/0.1213, allocations: 3.841 MB / 401.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003934/0.1253, allocations: 2.269 MB / 404.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002988/0.1256, allocations: 11.94 kB / 404.2 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006329/0.1263, allocations: 187 kB / 404.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.1286, allocations: 0.8931 MB / 405.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.129, allocations: 211.2 kB / 405.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00125/0.1303, allocations: 0.9143 MB / 406.4 MB, free: 8.273 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.1305, allocations: 69.92 kB / 406.4 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003415/0.1308, allocations: 258.8 kB / 406.7 MB, free: 7.953 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003259/0.1311, allocations: 262.8 kB / 406.9 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.1312, allocations: 15.94 kB / 406.9 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005576/0.1318, allocations: 223.8 kB / 407.2 MB, free: 7.461 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.1318, allocations: 59.64 kB / 407.2 MB, free: 7.402 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.1319, allocations: 117.5 kB / 407.3 MB, free: 7.281 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006169/0.1326, allocations: 0.5457 MB / 407.9 MB, free: 6.734 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1326, allocations: 8 kB / 407.9 MB, free: 6.727 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1326, allocations: 0 / 407.9 MB, free: 6.727 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1326, allocations: 0 / 407.9 MB, free: 6.727 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002243/0.1349, allocations: 0.8963 MB / 408.8 MB, free: 5.781 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1349, allocations: 16.02 kB / 408.8 MB, free: 5.766 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.214e-05/0.135, allocations: 74.53 kB / 408.9 MB, free: 5.684 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002926/0.1353, allocations: 79.31 kB / 409 MB, free: 5.605 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006104/0.1359, allocations: 407.5 kB / 409.4 MB, free: 5.164 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.136, allocations: 24.95 kB / 409.4 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.815e-05/0.136, allocations: 40 kB / 409.4 MB, free: 5.102 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006485/0.1367, allocations: 387 kB / 409.8 MB, free: 4.707 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1367, allocations: 0 / 409.8 MB, free: 4.707 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.1367, allocations: 16 kB / 409.8 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.1368, allocations: 8 kB / 409.8 MB, free: 4.684 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006006/0.1374, allocations: 351.8 kB / 410.2 MB, free: 4.34 MB / 302.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.002292/0.1397, allocations: 2.197 MB / 412.4 MB, free: 1.848 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009845/0.1407, allocations: 0.5607 MB / 412.9 MB, free: 1.242 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.1409, allocations: 148.8 kB / 413.1 MB, free: 1.094 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.19e-05/0.141, allocations: 4.109 kB / 413.1 MB, free: 1.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.141, allocations: 34.5 kB / 413.1 MB, free: 1.047 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 1.443e-06/0.141, allocations: 0 / 413.1 MB, free: 1.047 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.0023/0.1433, allocations: 0.839 MB / 413.9 MB, free: 184 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.1434, allocations: 55.41 kB / 414 MB, free: 116 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.1437, allocations: 313.7 kB / 414.3 MB, free: 15.8 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.1438, allocations: 33.7 kB / 414.3 MB, free: 15.76 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.1439, allocations: 204.7 kB / 414.5 MB, free: 15.55 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.1441, allocations: 138 kB / 414.7 MB, free: 15.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/0.1441, allocations: 8 kB / 414.7 MB, free: 15.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1442, allocations: 346.8 kB / 415 MB, free: 15.06 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.1444, allocations: 104 kB / 415.1 MB, free: 14.96 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.1447, allocations: 142.8 kB / 415.3 MB, free: 14.81 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.1449, allocations: 124.5 kB / 415.4 MB, free: 14.69 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1449, allocations: 0 / 415.4 MB, free: 14.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009585/0.1459, allocations: 485.1 kB / 415.9 MB, free: 14.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1459, allocations: 4.031 kB / 415.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.1459, allocations: 8 kB / 415.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000661/0.1466, allocations: 160.7 kB / 416 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.1469, allocations: 72.08 kB / 416.1 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/0.1496, allocations: 2.048 MB / 418.1 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.1499, allocations: 35.86 kB / 418.2 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.15, allocations: 15.92 kB / 418.2 MB, free: 11.74 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (31): * Single equations (assignments): 30 * 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: 0 * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002125/0.1502, allocations: 165.7 kB / 418.4 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.096e-05/0.1503, allocations: 39.53 kB / 418.4 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.1515, allocations: 0.5183 MB / 418.9 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.1515, allocations: 4 kB / 418.9 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1516, allocations: 3.953 kB / 418.9 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1516, allocations: 0 / 418.9 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.1535, allocations: 1.138 MB / 420.1 MB, free: 9.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.1536, allocations: 4 kB / 420.1 MB, free: 9.766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002973/0.1539, allocations: 71.89 kB / 420.1 MB, free: 9.695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005969/0.1545, allocations: 152.7 kB / 420.3 MB, free: 9.543 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/0.1545, allocations: 12 kB / 420.3 MB, free: 9.531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00258/0.1571, allocations: 1.996 MB / 422.3 MB, free: 7.398 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1571, allocations: 0 / 422.3 MB, free: 7.398 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.159, allocations: 1.345 MB / 423.6 MB, free: 5.992 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.1592, allocations: 144.6 kB / 423.8 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.866e-05/0.1593, allocations: 4 kB / 423.8 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.1595, allocations: 31.83 kB / 423.8 MB, free: 5.797 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.511e-05/0.1596, allocations: 27.95 kB / 423.8 MB, free: 5.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.1597, allocations: 16.09 kB / 423.8 MB, free: 5.754 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002496/0.1599, allocations: 223.2 kB / 424.1 MB, free: 5.535 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1599, allocations: 0 / 424.1 MB, free: 5.535 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007575/0.1607, allocations: 151.8 kB / 424.2 MB, free: 5.387 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 (32): * Single equations (assignments): 31 * 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: 0 * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001744/0.1624, allocations: 1.177 MB / 425.4 MB, free: 4.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.1635, allocations: 498.5 kB / 425.9 MB, free: 3.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1636, allocations: 0 / 425.9 MB, free: 3.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007727/0.1643, allocations: 386.6 kB / 426.3 MB, free: 3.289 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.1648, allocations: 57.23 kB / 426.3 MB, free: 3.234 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.00465/0.1695, allocations: 2.532 MB / 428.8 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1918/0.3613, allocations: 0.8253 MB / 429.7 MB, free: 35.85 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002759/0.3616, allocations: 44.03 kB / 429.7 MB, free: 35.85 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/0.3619, allocations: 133.7 kB / 429.8 MB, free: 35.84 MB / 318.1 MB Notification: Performance of SimCode: time 1.463e-06/0.3619, allocations: 0 / 429.8 MB, free: 35.84 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.39, allocations: 9.465 MB / 439.3 MB, free: 33.97 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.3902, allocations: 242.5 kB / 439.5 MB, free: 33.73 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.228/2.618, allocations: 0 / 439.5 MB, free: 33.73 MB / 318.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad.fmu > PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe 2>&1) Environment - environmentSimulation: