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.00106/0.00106, allocations: 96.42 kB / 15.69 MB, free: 480 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.00144/0.00144, allocations: 177.7 kB / 16.57 MB, free: 6.391 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.691/1.691, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05797/0.05797, allocations: 14.16 MB / 285.2 MB, free: 7.16 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.0005597/0.00056, allocations: 20.16 kB / 346.9 MB, free: 19.83 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1181, allocations: 51.11 MB / 398 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad): time 0.006209/0.1243, allocations: 5.772 MB / 403.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005567/0.1299, allocations: 3.132 MB / 406.9 MB, free: 7.734 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005867/0.1306, allocations: 15.94 kB / 406.9 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007982/0.1314, allocations: 286.5 kB / 407.2 MB, free: 7.438 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003103/0.1345, allocations: 1.287 MB / 408.5 MB, free: 6.156 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005864/0.1351, allocations: 270.6 kB / 408.7 MB, free: 5.895 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002075/0.1372, allocations: 1.314 MB / 410 MB, free: 4.578 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/0.1374, allocations: 114.4 kB / 410.2 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006294/0.1381, allocations: 0.5138 MB / 410.7 MB, free: 3.941 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005034/0.1386, allocations: 478.2 kB / 411.1 MB, free: 3.473 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.811e-05/0.1386, allocations: 24 kB / 411.2 MB, free: 3.449 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006597/0.1393, allocations: 267.7 kB / 411.4 MB, free: 3.188 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.434e-05/0.1394, allocations: 107.4 kB / 411.5 MB, free: 3.082 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.1396, allocations: 205.2 kB / 411.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009503/0.1405, allocations: 0.9198 MB / 412.6 MB, free: 1.953 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1406, allocations: 8 kB / 412.6 MB, free: 1.945 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1406, allocations: 0 / 412.6 MB, free: 1.945 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1406, allocations: 0 / 412.6 MB, free: 1.945 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.003813/0.1444, allocations: 1.399 MB / 414 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.1445, allocations: 12.02 kB / 414.1 MB, free: 496 kB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.1446, allocations: 110.5 kB / 414.2 MB, free: 376 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005575/0.1452, allocations: 150.7 kB / 414.3 MB, free: 224 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.1463, allocations: 0.6171 MB / 414.9 MB, free: 15.56 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.616e-05/0.1463, allocations: 61.95 kB / 415 MB, free: 15.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.649e-05/0.1464, allocations: 63.98 kB / 415.1 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.1475, allocations: 0.6629 MB / 415.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.1476, allocations: 0 / 415.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.935e-05/0.1476, allocations: 28 kB / 415.7 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.1477, allocations: 16 kB / 415.8 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.1488, allocations: 0.6427 MB / 416.4 MB, free: 14.07 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.003942/0.1527, allocations: 4.102 MB / 420.5 MB, free: 9.422 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.1546, allocations: 1.251 MB / 421.8 MB, free: 8.047 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.504e-05/0.1546, allocations: 8 kB / 421.8 MB, free: 8.039 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.1547, allocations: 46.55 kB / 421.8 MB, free: 7.984 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 2.164e-06/0.1547, allocations: 0 / 421.8 MB, free: 7.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.004222/0.1589, allocations: 1.522 MB / 423.3 MB, free: 6.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.159, allocations: 89.11 kB / 423.4 MB, free: 6.309 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005414/0.1595, allocations: 495.1 kB / 423.9 MB, free: 5.816 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.806e-05/0.1596, allocations: 33.7 kB / 423.9 MB, free: 5.777 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.1598, allocations: 328.5 kB / 424.3 MB, free: 5.449 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000228/0.1601, allocations: 279.9 kB / 424.5 MB, free: 5.172 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.1601, allocations: 8 kB / 424.5 MB, free: 5.164 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.1603, allocations: 374.8 kB / 424.9 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.1606, allocations: 205.8 kB / 425.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.161, allocations: 269.2 kB / 425.4 MB, free: 4.316 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004026/0.1615, allocations: 236.2 kB / 425.6 MB, free: 4.086 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.1615, allocations: 4 kB / 425.6 MB, free: 4.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001846/0.1633, allocations: 0.8797 MB / 426.5 MB, free: 3.188 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1633, allocations: 4 kB / 426.5 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.1634, allocations: 3.953 kB / 426.5 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.1647, allocations: 325.3 kB / 426.8 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005663/0.1652, allocations: 147.8 kB / 427 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2085/0.3737, allocations: 4.162 MB / 431.1 MB, free: 34.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007448/0.3745, allocations: 55 kB / 431.2 MB, free: 34.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/0.3746, allocations: 23.61 kB / 431.2 MB, free: 34.83 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.0003646/0.3749, allocations: 211.3 kB / 431.4 MB, free: 34.72 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.3751, allocations: 81.48 kB / 431.5 MB, free: 34.72 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.3773, allocations: 0.9254 MB / 432.4 MB, free: 34.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.3774, allocations: 8.641 kB / 432.4 MB, free: 34.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.3774, allocations: 1 kB / 432.4 MB, free: 34.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.3774, allocations: 5.047 kB / 432.4 MB, free: 34.64 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.00355/0.3809, allocations: 2.139 MB / 434.6 MB, free: 33.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.381, allocations: 4.438 kB / 434.6 MB, free: 33.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005466/0.3815, allocations: 132 kB / 434.7 MB, free: 33.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00138/0.3829, allocations: 317.2 kB / 435 MB, free: 33.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/0.383, allocations: 10.78 kB / 435 MB, free: 33.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004699/0.3877, allocations: 4.08 MB / 439.1 MB, free: 30.39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3877, allocations: 1.312 kB / 439.1 MB, free: 30.39 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.3904, allocations: 2 MB / 441.1 MB, free: 29.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/0.3906, allocations: 198.2 kB / 441.3 MB, free: 28.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.801e-05/0.3907, allocations: 22.73 kB / 441.3 MB, free: 28.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/0.3912, allocations: 41.98 kB / 441.3 MB, free: 28.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.3914, allocations: 60.02 kB / 441.4 MB, free: 28.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.3914, allocations: 20.03 kB / 441.4 MB, free: 28.87 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004319/0.3919, allocations: 342.7 kB / 441.8 MB, free: 28.71 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3919, allocations: 1.188 kB / 441.8 MB, free: 28.71 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001136/0.393, allocations: 285.1 kB / 442 MB, free: 28.67 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.002303/0.3953, allocations: 1.742 MB / 443.8 MB, free: 27.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002/0.3973, allocations: 0.97 MB / 444.8 MB, free: 27.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3974, allocations: 4.125 kB / 444.8 MB, free: 27.04 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.3986, allocations: 0.6971 MB / 445.5 MB, free: 26.64 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005404/0.3992, allocations: 86.89 kB / 445.5 MB, free: 26.6 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.007818/0.407, allocations: 4.74 MB / 450.3 MB, free: 23.8 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/0.4075, allocations: 0.9824 MB / 451.3 MB, free: 23.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003843/0.4079, allocations: 81.28 kB / 451.3 MB, free: 23.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003038/0.4082, allocations: 258.7 kB / 451.6 MB, free: 22.86 MB / 318.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4083, allocations: 0 / 451.6 MB, free: 22.86 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.4381, allocations: 16.62 MB / 468.2 MB, free: 10.52 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/0.4383, allocations: 228.5 kB / 468.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.219/2.658, allocations: 0 / 468.4 MB, free: 10.28 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: