Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_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_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad,fileNamePrefix="PowerGrids_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.001024/0.001024, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.4 MB / 222.1 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.05794/0.05794, allocations: 14.16 MB / 284.5 MB, free: 7.129 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.0005656/0.0005657, allocations: 12 kB / 346.2 MB, free: 19.81 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1143, allocations: 51.12 MB / 397.3 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad): time 0.006264/0.1206, allocations: 5.756 MB / 403.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004913/0.1256, allocations: 3.14 MB / 406.2 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006911/0.1263, allocations: 19.94 kB / 406.3 MB, free: 7.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007958/0.1271, allocations: 286.5 kB / 406.5 MB, free: 7.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003071/0.1302, allocations: 1.29 MB / 407.8 MB, free: 6.129 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005398/0.1307, allocations: 263.3 kB / 408.1 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001947/0.1327, allocations: 1.318 MB / 409.4 MB, free: 4.551 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002279/0.1329, allocations: 110.4 kB / 409.5 MB, free: 4.434 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005975/0.1335, allocations: 0.5137 MB / 410 MB, free: 3.918 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005168/0.134, allocations: 486.1 kB / 410.5 MB, free: 3.441 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.601e-05/0.1341, allocations: 28 kB / 410.5 MB, free: 3.414 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006625/0.1348, allocations: 255.7 kB / 410.8 MB, free: 3.164 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.35e-05/0.1349, allocations: 107.4 kB / 410.9 MB, free: 3.059 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.1351, allocations: 205.2 kB / 411.1 MB, free: 2.852 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009418/0.136, allocations: 0.9237 MB / 412 MB, free: 1.922 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.136, allocations: 0 / 412 MB, free: 1.922 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.136, allocations: 0 / 412 MB, free: 1.922 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.136, allocations: 4 kB / 412 MB, free: 1.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.003711/0.1398, allocations: 1.395 MB / 413.4 MB, free: 484 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.1398, allocations: 16.02 kB / 413.4 MB, free: 468 kB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001361/0.14, allocations: 114.5 kB / 413.5 MB, free: 344 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005446/0.1405, allocations: 154.7 kB / 413.7 MB, free: 188 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.1416, allocations: 0.6132 MB / 414.3 MB, free: 15.53 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.779e-05/0.1416, allocations: 57.95 kB / 414.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.204e-05/0.1417, allocations: 68 kB / 414.4 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.1428, allocations: 0.6668 MB / 415.1 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.1429, allocations: 0 / 415.1 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.078e-05/0.1429, allocations: 24 kB / 415.1 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.143, allocations: 16 kB / 415.1 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.144, allocations: 0.6427 MB / 415.8 MB, free: 14.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.003906/0.1479, allocations: 4.098 MB / 419.9 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/0.1499, allocations: 1.251 MB / 421.1 MB, free: 8.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.957e-05/0.1499, allocations: 11.98 kB / 421.1 MB, free: 8.008 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.15, allocations: 46.55 kB / 421.2 MB, free: 7.953 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 2.675e-06/0.15, allocations: 0 / 421.2 MB, free: 7.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.004223/0.1542, allocations: 1.522 MB / 422.7 MB, free: 6.383 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.1543, allocations: 85.11 kB / 422.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005848/0.1549, allocations: 499.1 kB / 423.3 MB, free: 5.785 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.1549, allocations: 37.7 kB / 423.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.1552, allocations: 332.4 kB / 423.6 MB, free: 5.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.1554, allocations: 267.9 kB / 423.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.1554, allocations: 16 kB / 423.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1556, allocations: 378.7 kB / 424.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/0.156, allocations: 197.9 kB / 424.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.1563, allocations: 269.2 kB / 424.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.1567, allocations: 232.2 kB / 425 MB, free: 4.059 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1568, allocations: 4 kB / 425 MB, free: 4.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001891/0.1587, allocations: 0.8797 MB / 425.8 MB, free: 3.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.1587, allocations: 4 kB / 425.8 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.1587, allocations: 7.953 kB / 425.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/0.1602, allocations: 325.3 kB / 426.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005773/0.1608, allocations: 139.9 kB / 426.3 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2323/0.3931, allocations: 4.173 MB / 430.5 MB, free: 34.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007471/0.3939, allocations: 54.34 kB / 430.5 MB, free: 34.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/0.3939, allocations: 25.72 kB / 430.6 MB, free: 34.56 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 (62): * Single equations (assignments): 60 * 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 {4 8,4 8} Notification: Performance of prepare postOptimizeDAE: time 0.0003337/0.3943, allocations: 212.6 kB / 430.8 MB, free: 34.45 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.3944, allocations: 78.38 kB / 430.8 MB, free: 34.45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.3967, allocations: 0.9199 MB / 431.8 MB, free: 34.37 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.3967, allocations: 7.062 kB / 431.8 MB, free: 34.37 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3967, allocations: 1.938 kB / 431.8 MB, free: 34.37 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.3967, allocations: 8.297 kB / 431.8 MB, free: 34.37 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.003411/0.4002, allocations: 2.148 MB / 433.9 MB, free: 33.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.4002, allocations: 1.828 kB / 433.9 MB, free: 33.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005342/0.4007, allocations: 128.5 kB / 434.1 MB, free: 33.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001317/0.4021, allocations: 310 kB / 434.4 MB, free: 33.44 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/0.4021, allocations: 12.25 kB / 434.4 MB, free: 33.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004777/0.4069, allocations: 4.088 MB / 438.5 MB, free: 30.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4069, allocations: 0 / 438.5 MB, free: 30.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.4091, allocations: 1.068 MB / 439.5 MB, free: 29.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/0.4094, allocations: 206.2 kB / 439.7 MB, free: 29.4 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-05/0.4095, allocations: 12.12 kB / 439.7 MB, free: 29.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004763/0.4099, allocations: 37.78 kB / 439.8 MB, free: 29.38 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.4101, allocations: 60.47 kB / 439.8 MB, free: 29.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.4102, allocations: 24.84 kB / 439.9 MB, free: 29.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004541/0.4106, allocations: 338.1 kB / 440.2 MB, free: 29.21 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4106, allocations: 0 / 440.2 MB, free: 29.21 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001026/0.4117, allocations: 282.6 kB / 440.5 MB, free: 29.17 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 (56): * Single equations (assignments): 54 * 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 9,3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.00246/0.4141, allocations: 1.742 MB / 442.2 MB, free: 28.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002073/0.4162, allocations: 0.9729 MB / 443.2 MB, free: 27.54 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.4162, allocations: 0 / 443.2 MB, free: 27.54 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001515/0.4177, allocations: 0.6979 MB / 443.9 MB, free: 27.14 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006897/0.4185, allocations: 89.31 kB / 444 MB, free: 27.1 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.007705/0.4262, allocations: 4.326 MB / 448.3 MB, free: 24.63 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006755/0.4269, allocations: 0.9661 MB / 449.3 MB, free: 23.92 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004514/0.4273, allocations: 76 kB / 449.3 MB, free: 23.89 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000347/0.4277, allocations: 261.7 kB / 449.6 MB, free: 23.7 MB / 318.1 MB Notification: Performance of SimCode: time 3.386e-06/0.4277, allocations: 0 / 449.6 MB, free: 23.7 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/0.4579, allocations: 16.61 MB / 466.2 MB, free: 11.61 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/0.4581, allocations: 206.7 kB / 466.4 MB, free: 11.38 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.217/2.675, allocations: 0 / 466.4 MB, free: 11.38 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe 2>&1) Environment - environmentSimulation: