Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.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.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",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.001034/0.001034, 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.001612/0.001612, allocations: 177.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.899/1.899, allocations: 205.4 MB / 222.8 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05972/0.05972, allocations: 14.17 MB / 285.2 MB, free: 7.152 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.0005425/0.0005426, allocations: 12 kB / 346.9 MB, free: 19.8 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1217, allocations: 51.12 MB / 398 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.004395/0.1261, allocations: 3.723 MB / 401.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00408/0.1302, allocations: 2.246 MB / 404 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000367/0.1307, allocations: 11.88 kB / 404 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006296/0.1313, allocations: 191.1 kB / 404.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002288/0.1336, allocations: 0.8983 MB / 405.1 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.134, allocations: 199 kB / 405.3 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.1353, allocations: 0.8949 MB / 406.2 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.1355, allocations: 57.05 kB / 406.2 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003199/0.1358, allocations: 250.8 kB / 406.5 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003167/0.1362, allocations: 242.9 kB / 406.7 MB, free: 7.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.1362, allocations: 12 kB / 406.7 MB, free: 7.898 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005925/0.1368, allocations: 235.8 kB / 407 MB, free: 7.668 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.454e-05/0.1369, allocations: 55.64 kB / 407 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.137, allocations: 113.5 kB / 407.1 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006131/0.1376, allocations: 0.5339 MB / 407.7 MB, free: 6.961 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1376, allocations: 0 / 407.7 MB, free: 6.961 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1376, allocations: 0 / 407.7 MB, free: 6.961 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.1377, allocations: 0 / 407.7 MB, free: 6.961 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.002192/0.1399, allocations: 0.8536 MB / 408.5 MB, free: 6.059 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/0.1399, allocations: 16.02 kB / 408.5 MB, free: 6.043 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.813e-05/0.14, allocations: 66.53 kB / 408.6 MB, free: 5.969 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003008/0.1403, allocations: 75.41 kB / 408.7 MB, free: 5.895 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006773/0.141, allocations: 395.5 kB / 409.1 MB, free: 5.465 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.1411, allocations: 32.95 kB / 409.1 MB, free: 5.434 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/0.1411, allocations: 28 kB / 409.1 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006547/0.1418, allocations: 354.3 kB / 409.5 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.1418, allocations: 0 / 409.5 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.788e-05/0.1419, allocations: 12 kB / 409.5 MB, free: 5.031 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.1419, allocations: 11.94 kB / 409.5 MB, free: 5.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005408/0.1424, allocations: 310.4 kB / 409.8 MB, free: 4.711 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.0027/0.1451, allocations: 2.144 MB / 411.9 MB, free: 2.273 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.1462, allocations: 0.5325 MB / 412.5 MB, free: 1.695 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.1465, allocations: 121.4 kB / 412.6 MB, free: 1.574 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.352e-05/0.1465, allocations: 8 kB / 412.6 MB, free: 1.566 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.936e-05/0.1466, allocations: 42.3 kB / 412.6 MB, free: 1.516 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.964e-06/0.1466, allocations: 0 / 412.6 MB, free: 1.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.002172/0.1488, allocations: 0.7558 MB / 413.4 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.1488, allocations: 55.41 kB / 413.4 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/0.1492, allocations: 296.6 kB / 413.7 MB, free: 380 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.1492, allocations: 34.8 kB / 413.8 MB, free: 340 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.1494, allocations: 200.3 kB / 414 MB, free: 136 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.1495, allocations: 134.1 kB / 414.1 MB, free: 0 / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.1496, allocations: 4.078 kB / 414.1 MB, free: 15.99 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1497, allocations: 342.8 kB / 414.4 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.1499, allocations: 88.62 kB / 414.5 MB, free: 15.56 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.1501, allocations: 119.2 kB / 414.6 MB, free: 15.44 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.1503, allocations: 111.9 kB / 414.7 MB, free: 15.33 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/0.1503, allocations: 0 / 414.7 MB, free: 15.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009028/0.1512, allocations: 462 kB / 415.2 MB, free: 14.87 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.1512, allocations: 4 kB / 415.2 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1512, allocations: 0 / 415.2 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006692/0.1519, allocations: 156.7 kB / 415.4 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.1522, allocations: 64.09 kB / 415.4 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002912/0.1551, allocations: 2.05 MB / 417.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.1554, allocations: 23.75 kB / 417.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.1554, allocations: 12 kB / 417.5 MB, free: 12.44 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 (29): * Single equations (assignments): 28 * 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.0002333/0.1557, allocations: 170.8 kB / 417.7 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/0.1558, allocations: 35.62 kB / 417.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.1568, allocations: 461.6 kB / 418.2 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.1568, allocations: 4 kB / 418.2 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.1568, allocations: 0 / 418.2 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.1568, allocations: 3.953 kB / 418.2 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.1585, allocations: 1.057 MB / 419.2 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.1585, allocations: 3.938 kB / 419.2 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.1588, allocations: 63.91 kB / 419.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005741/0.1594, allocations: 152.7 kB / 419.4 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.1594, allocations: 8 kB / 419.4 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002542/0.1619, allocations: 2.015 MB / 421.5 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1619, allocations: 0 / 421.5 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.1635, allocations: 1.251 MB / 422.7 MB, free: 6.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.1636, allocations: 136.7 kB / 422.8 MB, free: 6.777 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.1637, allocations: 4 kB / 422.8 MB, free: 6.773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.1639, allocations: 23.83 kB / 422.9 MB, free: 6.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/0.164, allocations: 23.97 kB / 422.9 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.164, allocations: 16 kB / 422.9 MB, free: 6.711 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002482/0.1643, allocations: 215.1 kB / 423.1 MB, free: 6.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1643, allocations: 0 / 423.1 MB, free: 6.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007066/0.165, allocations: 143.9 kB / 423.3 MB, free: 6.359 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 (26): * Single equations (assignments): 25 * 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 {4 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.001376/0.1664, allocations: 1.107 MB / 424.4 MB, free: 5.219 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009579/0.1673, allocations: 454 kB / 424.8 MB, free: 4.762 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1674, allocations: 4.062 kB / 424.8 MB, free: 4.758 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006043/0.168, allocations: 362 kB / 425.2 MB, free: 4.391 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.1684, allocations: 53.27 kB / 425.2 MB, free: 4.34 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.003909/0.1724, allocations: 2.286 MB / 427.5 MB, free: 1.988 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.1728, allocations: 0.8195 MB / 428.3 MB, free: 1.141 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001866/0.173, allocations: 34.95 kB / 428.4 MB, free: 1.109 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.1732, allocations: 123.4 kB / 428.5 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1732, allocations: 0 / 428.5 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2572/0.4305, allocations: 8.948 MB / 437.4 MB, free: 34.65 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002587/0.4308, allocations: 218.4 kB / 437.6 MB, free: 34.41 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.17/2.6, allocations: 0 / 437.6 MB, free: 34.41 MB / 318.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad.fmu > PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe 2>&1) Environment - environmentSimulation: