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.0009542/0.0009542, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001198/0.001198, allocations: 168.7 kB / 15.95 MB, free: 204 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.429/1.429, 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.05626/0.05626, allocations: 14.16 MB / 284.6 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.0004668/0.0004669, allocations: 12 kB / 346.3 MB, free: 19.76 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09421/0.09469, allocations: 51.12 MB / 397.4 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad): time 0.00603/0.1008, allocations: 6.3 MB / 403.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00466/0.1055, allocations: 3.166 MB / 406.9 MB, free: 7.102 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004083/0.1059, allocations: 15.94 kB / 406.9 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006622/0.1066, allocations: 294.4 kB / 407.2 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002605/0.1092, allocations: 1.212 MB / 408.4 MB, free: 5.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005239/0.1097, allocations: 258.7 kB / 408.6 MB, free: 5.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001961/0.1117, allocations: 1.786 MB / 410.4 MB, free: 3.547 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.1119, allocations: 110.4 kB / 410.5 MB, free: 3.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000535/0.1125, allocations: 493.6 kB / 411 MB, free: 2.945 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005241/0.113, allocations: 497.8 kB / 411.5 MB, free: 2.457 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.022e-05/0.1131, allocations: 28 kB / 411.5 MB, free: 2.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006238/0.1137, allocations: 267.8 kB / 411.8 MB, free: 2.168 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.668e-05/0.1138, allocations: 111.3 kB / 411.9 MB, free: 2.059 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.114, allocations: 205.2 kB / 412.1 MB, free: 1.852 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009303/0.1149, allocations: 0.947 MB / 413 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.115, allocations: 3.938 kB / 413 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.115, allocations: 0 / 413 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.115, allocations: 4 kB / 413 MB, free: 0.8945 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.003453/0.1184, allocations: 1.387 MB / 414.4 MB, free: 15.46 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.1185, allocations: 20.02 kB / 414.4 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/0.1186, allocations: 110.5 kB / 414.5 MB, free: 15.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005347/0.1192, allocations: 154.7 kB / 414.7 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009698/0.1201, allocations: 0.6171 MB / 415.3 MB, free: 14.51 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/0.1202, allocations: 49.95 kB / 415.4 MB, free: 14.46 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.611e-05/0.1203, allocations: 67.94 kB / 415.4 MB, free: 14.4 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.1214, allocations: 0.6668 MB / 416.1 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.1214, allocations: 0 / 416.1 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.502e-05/0.1214, allocations: 32 kB / 416.1 MB, free: 13.67 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.1215, allocations: 16 kB / 416.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.1225, allocations: 0.6427 MB / 416.8 MB, free: 13.02 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.003814/0.1264, allocations: 4.094 MB / 420.9 MB, free: 8.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.1278, allocations: 1.146 MB / 422 MB, free: 7.109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004308/0.1282, allocations: 277.6 kB / 422.3 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.145e-05/0.1283, allocations: 19.97 kB / 422.3 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.1284, allocations: 42.5 kB / 422.4 MB, free: 6.762 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 2.194e-06/0.1284, allocations: 0 / 422.4 MB, free: 6.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.003536/0.1319, allocations: 1.443 MB / 423.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.132, allocations: 89.11 kB / 423.9 MB, free: 5.164 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005226/0.1325, allocations: 487.2 kB / 424.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/0.1326, allocations: 37.7 kB / 424.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.1328, allocations: 332.5 kB / 424.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.133, allocations: 275.9 kB / 425 MB, free: 4.031 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.133, allocations: 12 kB / 425 MB, free: 4.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1332, allocations: 374.8 kB / 425.4 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.1335, allocations: 201.9 kB / 425.6 MB, free: 3.449 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.1339, allocations: 261.3 kB / 425.8 MB, free: 3.184 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.1343, allocations: 240.2 kB / 426.1 MB, free: 2.949 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1344, allocations: 4 kB / 426.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001682/0.136, allocations: 0.8524 MB / 426.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.1361, allocations: 7.984 kB / 426.9 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1361, allocations: 4 kB / 426.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.1371, allocations: 277.3 kB / 427.2 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/0.1376, allocations: 127.9 kB / 427.3 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.181/0.3187, allocations: 3.851 MB / 431.2 MB, free: 24.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005778/0.3193, allocations: 57.69 kB / 431.2 MB, free: 24.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.3193, allocations: 22.2 kB / 431.3 MB, free: 24.44 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.0003066/0.3196, allocations: 211 kB / 431.5 MB, free: 24.33 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.3198, allocations: 76.88 kB / 431.5 MB, free: 24.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/0.3217, allocations: 0.8929 MB / 432.4 MB, free: 24.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.3217, allocations: 11.53 kB / 432.4 MB, free: 24.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.3217, allocations: 1.094 kB / 432.4 MB, free: 24.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.3217, allocations: 4.844 kB / 432.4 MB, free: 24.25 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.003004/0.3247, allocations: 2.117 MB / 434.6 MB, free: 23.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3247, allocations: 3.031 kB / 434.6 MB, free: 23.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/0.3252, allocations: 115.4 kB / 434.7 MB, free: 23.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000968/0.3262, allocations: 283.5 kB / 435 MB, free: 23.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.3262, allocations: 14.2 kB / 435 MB, free: 23.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003762/0.33, allocations: 3.783 MB / 438.8 MB, free: 20.89 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.33, allocations: 0 / 438.8 MB, free: 20.89 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.3318, allocations: 1.032 MB / 439.8 MB, free: 20.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.332, allocations: 198.2 kB / 440 MB, free: 20.47 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.163e-05/0.3321, allocations: 14.41 kB / 440 MB, free: 20.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.3325, allocations: 45.22 kB / 440 MB, free: 20.46 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.3326, allocations: 59.25 kB / 440.1 MB, free: 20.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.3326, allocations: 19 kB / 440.1 MB, free: 20.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003554/0.333, allocations: 344.9 kB / 440.4 MB, free: 20.38 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.333, allocations: 0 / 440.4 MB, free: 20.38 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008686/0.3339, allocations: 283.6 kB / 440.7 MB, free: 20.37 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.002033/0.3359, allocations: 1.63 MB / 442.4 MB, free: 19.54 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001514/0.3375, allocations: 0.8939 MB / 443.2 MB, free: 19.29 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3375, allocations: 0 / 443.2 MB, free: 19.29 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009573/0.3384, allocations: 0.6431 MB / 443.9 MB, free: 19.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006435/0.3391, allocations: 95.95 kB / 444 MB, free: 19.04 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.006308/0.3454, allocations: 3.924 MB / 447.9 MB, free: 17.7 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.3459, allocations: 0.9467 MB / 448.9 MB, free: 16.98 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003828/0.3463, allocations: 81.67 kB / 448.9 MB, free: 16.95 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002988/0.3466, allocations: 256.6 kB / 449.2 MB, free: 16.94 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3466, allocations: 1.062 kB / 449.2 MB, free: 16.94 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.3734, allocations: 16.32 MB / 465.5 MB, free: 6.461 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001334/0.3736, allocations: 223.8 kB / 465.7 MB, free: 6.211 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.198/2.571, allocations: 0 / 465.7 MB, free: 6.211 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: