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.001018/0.001018, allocations: 96.03 kB / 15.7 MB, free: 468 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.00104/0.00104, allocations: 177.6 kB / 16.58 MB, free: 6.859 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.649/1.649, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05773/0.05773, 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.0005746/0.0005748, allocations: 16.22 kB / 346.9 MB, free: 19.82 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1202, allocations: 51.11 MB / 398 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad): time 0.003858/0.1241, allocations: 3.573 MB / 401.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003379/0.1275, allocations: 2.243 MB / 403.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003129/0.1278, allocations: 7.938 kB / 403.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005378/0.1284, allocations: 183.1 kB / 404 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.1306, allocations: 0.9457 MB / 404.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.1311, allocations: 207.4 kB / 405.1 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001119/0.1322, allocations: 0.6769 MB / 405.8 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.1324, allocations: 85.83 kB / 405.9 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003235/0.1327, allocations: 267 kB / 406.2 MB, free: 8.457 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/0.133, allocations: 251 kB / 406.4 MB, free: 8.211 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.1331, allocations: 12 kB / 406.4 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005358/0.1336, allocations: 211.8 kB / 406.6 MB, free: 7.992 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.323e-05/0.1337, allocations: 55.69 kB / 406.7 MB, free: 7.938 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.1338, allocations: 121.5 kB / 406.8 MB, free: 7.812 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005891/0.1344, allocations: 0.5379 MB / 407.3 MB, free: 7.273 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.1344, allocations: 0 / 407.3 MB, free: 7.273 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.057e-06/0.1344, allocations: 0 / 407.3 MB, free: 7.273 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1344, allocations: 3.938 kB / 407.3 MB, free: 7.27 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.002268/0.1367, allocations: 0.8964 MB / 408.2 MB, free: 6.324 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1368, allocations: 12.03 kB / 408.2 MB, free: 6.312 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.773e-05/0.1369, allocations: 74.53 kB / 408.3 MB, free: 6.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000304/0.1372, allocations: 79.31 kB / 408.4 MB, free: 6.152 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006345/0.1378, allocations: 403.5 kB / 408.8 MB, free: 5.715 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.1379, allocations: 32.95 kB / 408.8 MB, free: 5.684 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.1379, allocations: 32 kB / 408.9 MB, free: 5.652 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000603/0.1385, allocations: 379 kB / 409.2 MB, free: 5.266 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1385, allocations: 0 / 409.2 MB, free: 5.266 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.1386, allocations: 16 kB / 409.2 MB, free: 5.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.1386, allocations: 12 kB / 409.3 MB, free: 5.238 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006027/0.1392, allocations: 355.7 kB / 409.6 MB, free: 4.891 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.002219/0.1414, allocations: 2.189 MB / 411.8 MB, free: 2.406 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009583/0.1424, allocations: 0.5636 MB / 412.4 MB, free: 1.797 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/0.1425, allocations: 5.094 kB / 412.4 MB, free: 1.793 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.1425, allocations: 42.56 kB / 412.4 MB, free: 1.742 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 1.653e-06/0.1425, allocations: 0 / 412.4 MB, free: 1.742 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.002284/0.1448, allocations: 0.8039 MB / 413.2 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.1448, allocations: 55.41 kB / 413.3 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/0.1452, allocations: 313.7 kB / 413.6 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.1452, allocations: 33.7 kB / 413.6 MB, free: 500 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.1454, allocations: 200.7 kB / 413.8 MB, free: 292 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.1456, allocations: 146.1 kB / 413.9 MB, free: 144 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.544e-05/0.1456, allocations: 4 kB / 413.9 MB, free: 140 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.1457, allocations: 350.7 kB / 414.3 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.146, allocations: 104 kB / 414.4 MB, free: 15.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.1462, allocations: 146.8 kB / 414.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.1464, allocations: 120.4 kB / 414.6 MB, free: 15.42 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1464, allocations: 3.984 kB / 414.6 MB, free: 15.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001002/0.1474, allocations: 485.2 kB / 415.1 MB, free: 14.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1474, allocations: 4.031 kB / 415.1 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1475, allocations: 4 kB / 415.1 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007235/0.1482, allocations: 156.7 kB / 415.3 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.1485, allocations: 75.89 kB / 415.4 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002918/0.1514, allocations: 2.078 MB / 417.4 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.1518, allocations: 35.73 kB / 417.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.1518, allocations: 12 kB / 417.5 MB, free: 12.45 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.0002418/0.152, allocations: 165.7 kB / 417.6 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.754e-05/0.1521, allocations: 39.53 kB / 417.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.1533, allocations: 0.5184 MB / 418.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.1534, allocations: 4 kB / 418.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1534, allocations: 3.953 kB / 418.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.1534, allocations: 3.984 kB / 418.2 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.1552, allocations: 1.138 MB / 419.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.1553, allocations: 8 kB / 419.4 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/0.1556, allocations: 75.89 kB / 419.4 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006495/0.1562, allocations: 152.7 kB / 419.6 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.69e-05/0.1563, allocations: 8 kB / 419.6 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002564/0.1588, allocations: 2.043 MB / 421.6 MB, free: 8.047 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1589, allocations: 3.938 kB / 421.6 MB, free: 8.043 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.1606, allocations: 1.341 MB / 423 MB, free: 6.641 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.1608, allocations: 152.5 kB / 423.1 MB, free: 6.473 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.805e-05/0.1609, allocations: 8 kB / 423.1 MB, free: 6.465 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.1612, allocations: 31.83 kB / 423.2 MB, free: 6.434 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.1613, allocations: 31.95 kB / 423.2 MB, free: 6.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.1613, allocations: 4 kB / 423.2 MB, free: 6.398 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002481/0.1616, allocations: 227.2 kB / 423.4 MB, free: 6.176 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.723e-06/0.1616, allocations: 0 / 423.4 MB, free: 6.176 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007477/0.1623, allocations: 155.8 kB / 423.6 MB, free: 6.023 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.001537/0.1639, allocations: 1.174 MB / 424.7 MB, free: 4.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.165, allocations: 490.5 kB / 425.2 MB, free: 4.328 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.165, allocations: 3.938 kB / 425.2 MB, free: 4.324 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006545/0.1656, allocations: 382.7 kB / 425.6 MB, free: 3.938 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.166, allocations: 49.28 kB / 425.7 MB, free: 3.891 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.004193/0.1702, allocations: 2.626 MB / 428.3 MB, free: 1.215 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.1707, allocations: 0.844 MB / 429.1 MB, free: 352 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001976/0.1709, allocations: 43.25 kB / 429.2 MB, free: 308 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.1711, allocations: 139.4 kB / 429.3 MB, free: 168 kB / 318.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1711, allocations: 0 / 429.3 MB, free: 168 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2669/0.438, allocations: 9.439 MB / 438.7 MB, free: 33.83 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/0.4382, allocations: 237.7 kB / 439 MB, free: 33.59 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.424, allocations: 4 kB / 439 MB, free: 33.59 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: