Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.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.OneBusImpedanceOneVariableLoad,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad",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.0009071/0.0009068, 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.001405/0.001405, allocations: 177 kB / 16.59 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.79/1.79, allocations: 205.4 MB / 222.8 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06604/0.06604, allocations: 14.16 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.0004881/0.0004882, allocations: 16 kB / 346.9 MB, free: 19.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1135, allocations: 51.12 MB / 398 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad): time 0.006253/0.1198, allocations: 6.301 MB / 404.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005475/0.1253, allocations: 3.166 MB / 407.5 MB, free: 7.113 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000554/0.1259, allocations: 23.88 kB / 407.5 MB, free: 7.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008369/0.1267, allocations: 282.5 kB / 407.8 MB, free: 6.812 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003004/0.1297, allocations: 1.203 MB / 409 MB, free: 5.613 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005658/0.1303, allocations: 262.7 kB / 409.3 MB, free: 5.359 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002249/0.1326, allocations: 1.782 MB / 411 MB, free: 3.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/0.1328, allocations: 114.3 kB / 411.2 MB, free: 3.449 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00066/0.1335, allocations: 489.7 kB / 411.6 MB, free: 2.969 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005714/0.1341, allocations: 0.49 MB / 412.1 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.417e-05/0.1341, allocations: 24 kB / 412.1 MB, free: 2.453 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007463/0.1349, allocations: 267.8 kB / 412.4 MB, free: 2.191 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.135, allocations: 111.3 kB / 412.5 MB, free: 2.082 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.1352, allocations: 209.2 kB / 412.7 MB, free: 1.871 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.1363, allocations: 0.9431 MB / 413.7 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.1363, allocations: 8 kB / 413.7 MB, free: 0.918 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1363, allocations: 0 / 413.7 MB, free: 0.918 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.1363, allocations: 0 / 413.7 MB, free: 0.918 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003686/0.14, allocations: 1.391 MB / 415.1 MB, free: 15.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.1401, allocations: 12.02 kB / 415.1 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001504/0.1402, allocations: 114.5 kB / 415.2 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005425/0.1408, allocations: 154.7 kB / 415.3 MB, free: 15.19 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.1418, allocations: 0.6171 MB / 416 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.987e-05/0.1419, allocations: 57.95 kB / 416 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.959e-05/0.142, allocations: 67.94 kB / 416.1 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.1431, allocations: 0.6668 MB / 416.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.1432, allocations: 0 / 416.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.338e-05/0.1432, allocations: 24 kB / 416.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.1433, allocations: 16 kB / 416.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.1444, allocations: 0.6427 MB / 417.4 MB, free: 13.04 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.004325/0.1487, allocations: 4.094 MB / 421.5 MB, free: 8.402 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.1502, allocations: 1.15 MB / 422.7 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000437/0.1507, allocations: 277.6 kB / 422.9 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/0.1508, allocations: 15.98 kB / 423 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.1509, allocations: 42.5 kB / 423 MB, free: 6.785 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 2.675e-06/0.1509, allocations: 0 / 423 MB, free: 6.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.003584/0.1545, allocations: 1.447 MB / 424.4 MB, free: 5.289 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.1546, allocations: 85.11 kB / 424.5 MB, free: 5.188 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006125/0.1552, allocations: 487.2 kB / 425 MB, free: 4.703 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.1552, allocations: 37.7 kB / 425 MB, free: 4.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000274/0.1555, allocations: 328.5 kB / 425.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/0.1558, allocations: 279.9 kB / 425.6 MB, free: 4.055 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.1558, allocations: 12 kB / 425.6 MB, free: 4.043 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002285/0.1561, allocations: 374.8 kB / 426 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.1565, allocations: 197.9 kB / 426.2 MB, free: 3.477 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004261/0.1569, allocations: 261.3 kB / 426.5 MB, free: 3.211 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000445/0.1574, allocations: 244.2 kB / 426.7 MB, free: 2.973 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1574, allocations: 0 / 426.7 MB, free: 2.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001895/0.1593, allocations: 0.8563 MB / 427.6 MB, free: 2.102 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.1593, allocations: 8 kB / 427.6 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1593, allocations: 0 / 427.6 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.1604, allocations: 277.3 kB / 427.8 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005039/0.1609, allocations: 135.8 kB / 428 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2365/0.3974, allocations: 3.846 MB / 431.8 MB, free: 24.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007111/0.3982, allocations: 57.36 kB / 431.9 MB, free: 24.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/0.3982, allocations: 21.69 kB / 431.9 MB, free: 24.68 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (66): * Single equations (assignments): 64 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 7,3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004117/0.3986, allocations: 215.6 kB / 432.1 MB, free: 24.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.3988, allocations: 76.31 kB / 432.2 MB, free: 24.56 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/0.4009, allocations: 0.8968 MB / 433.1 MB, free: 24.49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.4009, allocations: 8.531 kB / 433.1 MB, free: 24.49 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.4009, allocations: 0.9062 kB / 433.1 MB, free: 24.49 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.4009, allocations: 4.953 kB / 433.1 MB, free: 24.49 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 postOpt removeSimpleEquations (simulation): time 0.003448/0.4044, allocations: 2.116 MB / 435.2 MB, free: 23.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.4044, allocations: 1.078 kB / 435.2 MB, free: 23.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004555/0.4049, allocations: 116.2 kB / 435.3 MB, free: 23.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/0.4059, allocations: 282.6 kB / 435.6 MB, free: 23.67 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.406, allocations: 13.34 kB / 435.6 MB, free: 23.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004061/0.41, allocations: 3.79 MB / 439.4 MB, free: 21.13 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4101, allocations: 0 / 439.4 MB, free: 21.13 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00351/0.4136, allocations: 1.958 MB / 441.3 MB, free: 20.24 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004019/0.414, allocations: 205.3 kB / 441.6 MB, free: 20.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.979e-05/0.4141, allocations: 14.12 kB / 441.6 MB, free: 20.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004579/0.4146, allocations: 47.59 kB / 441.6 MB, free: 20.1 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.4147, allocations: 57.64 kB / 441.7 MB, free: 20.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/0.4148, allocations: 17.31 kB / 441.7 MB, free: 20.1 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004809/0.4153, allocations: 341.2 kB / 442 MB, free: 20.01 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4153, allocations: 0 / 442 MB, free: 20.01 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001306/0.4166, allocations: 278.8 kB / 442.3 MB, free: 20.01 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (60): * Single equations (assignments): 58 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 7,3 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002274/0.4189, allocations: 1.631 MB / 443.9 MB, free: 19.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001815/0.4207, allocations: 0.8985 MB / 444.8 MB, free: 18.92 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4207, allocations: 0 / 444.8 MB, free: 18.92 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.4219, allocations: 0.6469 MB / 445.5 MB, free: 18.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000824/0.4228, allocations: 99.36 kB / 445.6 MB, free: 18.66 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.007941/0.4307, allocations: 4.346 MB / 449.9 MB, free: 17.12 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006397/0.4314, allocations: 0.9648 MB / 450.9 MB, free: 16.41 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004438/0.4319, allocations: 85.38 kB / 451 MB, free: 16.38 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000339/0.4322, allocations: 260.2 kB / 451.2 MB, free: 16.37 MB / 318.1 MB Notification: Performance of SimCode: time 1.552e-06/0.4322, allocations: 3.938 kB / 451.2 MB, free: 16.36 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.032/0.4642, allocations: 16.31 MB / 467.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/0.4644, allocations: 230.2 kB / 467.8 MB, free: 5.418 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.521/2.985, allocations: 0 / 467.8 MB, free: 5.418 MB / 318.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad.fmu > PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe 2>&1) Environment - environmentSimulation: